platform/server/front/Dockerfile
Andrey Sobolev 3b2de9ace9
Update docker image (#3907)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-10-30 16:22:05 +07:00

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" ]