platform/pods/front/Dockerfile
Andrey Sobolev 5326acaa79
Reusable Platform (#2374)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2022-11-15 09:51:46 +07:00

14 lines
244 B
Docker

FROM node:16-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" ]