mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 19:44:59 +03:00
ba8ab45dc2
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
14 lines
244 B
Docker
14 lines
244 B
Docker
FROM node:18-alpine
|
|
|
|
RUN apk add dumb-init
|
|
ENV NODE_ENV production
|
|
|
|
WORKDIR /app
|
|
RUN npm install --ignore-scripts=false --verbose sharp --unsafe-perm
|
|
|
|
COPY bundle.js ./
|
|
COPY dist/ ./dist/
|
|
|
|
EXPOSE 8080
|
|
CMD [ "dumb-init", "node", "./bundle.js" ]
|