mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 00:37:47 +00:00
Fix front pod base image
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
ef8f2f5b80
commit
8deea478f8
@ -1,4 +1,13 @@
|
|||||||
FROM hardcoreeng/base
|
FROM node:22
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install libjemalloc2 dumb-init
|
||||||
|
RUN apt-get clean
|
||||||
|
|
||||||
|
ENV LD_PRELOAD=libjemalloc.so.2
|
||||||
|
ENV MALLOC_CONF=dirty_decay_ms:1000,narenas:2,background_thread:true
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
RUN npm install --ignore-scripts=false --verbose bufferutil sharp@v0.32.6 utf-8-validate snappy --unsafe-perm
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
|
||||||
RUN npm install --ignore-scripts=false --verbose sharp@v0.32.6 --unsafe-perm
|
|
||||||
|
Loading…
Reference in New Issue
Block a user