Switch to Base images (#7654)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-01-14 12:12:15 +07:00
committed by GitHub
parent 582766bc63
commit 379c92716e
51 changed files with 88 additions and 714 deletions
+1 -11
View File
@@ -1,17 +1,7 @@
FROM node:20
FROM hardcoreeng/base:v20250113a
WORKDIR /usr/src/app
RUN npm install --ignore-scripts=false --verbose bufferutil utf-8-validate @mongodb-js/zstd snappy --unsafe-perm
RUN apt-get update
RUN apt-get install libjemalloc2
RUN apt-get clean
ENV LD_PRELOAD=libjemalloc.so.2
ENV MALLOC_CONF=dirty_decay_ms:1000,narenas:2,background_thread:true
COPY bundle/bundle.js ./
COPY bundle/bundle.js.map ./