Update Dockerfile.dev

This commit is contained in:
Eugene Burmakin 2025-09-30 20:09:02 +02:00
parent ffa90b50f7
commit 4e9e1e933a

View file

@ -29,14 +29,13 @@ RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no
libjemalloc2 libjemalloc-dev \ libjemalloc2 libjemalloc-dev \
cmake \ cmake \
ca-certificates \ ca-certificates \
gnupg \ && mkdir -p $APP_PATH \
&& mkdir -p /etc/apt/keyrings \ && rm -rf /var/lib/apt/lists/*
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_lts.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ # Install Node.js using official NodeSource script
&& apt-get update \ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y nodejs \ && apt-get install -y nodejs \
&& npm install -g yarn \ && npm install -g yarn \
&& mkdir -p $APP_PATH \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Use jemalloc with check for architecture # Use jemalloc with check for architecture