mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-25 12:37:02 +03:00
49113d8cd8
Signed-off-by: Jasmin <jasmin@hardcoreeng.com> Co-authored-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
12 lines
266 B
Docker
12 lines
266 B
Docker
|
|
FROM node:20
|
|
|
|
RUN apt-get update && apt-get install dumb-init
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN npm install --ignore-scripts=false --verbose bufferutil utf-8-validate @mongodb-js/zstd snappy --unsafe-perm
|
|
|
|
COPY bundle/bundle.js ./
|
|
|
|
CMD [ "dumb-init", "node", "bundle.js" ]
|