mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-20 03:15:41 +02:00
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
12 lines
266 B
Docker
12 lines
266 B
Docker
FROM node:22-slim
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install libjemalloc2 dumb-init ca-certificates -y
|
|
RUN apt-get clean
|
|
|
|
ENV LD_PRELOAD=libjemalloc.so.2
|
|
ENV MALLOC_CONF=dirty_decay_ms:1000,narenas:2,background_thread:true
|
|
|
|
WORKDIR /usr/src/app
|
|
ENV NODE_ENV=production
|