mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 19:58:30 +03:00
2d163bf428
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
13 lines
260 B
Docker
13 lines
260 B
Docker
FROM node:20
|
|
|
|
ENV NODE_ENV production
|
|
|
|
WORKDIR /app
|
|
RUN npm install --ignore-scripts=false --verbose sharp@v0.32.6 bufferutil utf-8-validate @mongodb-js/zstd --unsafe-perm
|
|
|
|
COPY bundle/bundle.js ./
|
|
COPY dist/ ./dist/
|
|
|
|
EXPOSE 8080
|
|
CMD [ "node", "./bundle.js" ]
|