FROM yandex/clickhouse-server

# Install Node.js and ClickHouse
RUN apt-get update \
    && apt-get install -y curl gnupg2 \
    && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
    && apt-get update \
    && apt-get install -y nodejs

# Verify Node.js and npm installation
RUN node -v && npm -v