platform/pods/front/Dockerfile
Andrey Sobolev c23af625f6
Enhanced Phased build (#4599)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-02-12 23:57:11 +07:00

14 lines
259 B
Docker

FROM node:20-alpine
RUN apk add dumb-init
ENV NODE_ENV production
WORKDIR /app
RUN npm install --ignore-scripts=false --verbose sharp@v0.32.6 --unsafe-perm
COPY bundle/bundle.js ./
COPY dist/ ./dist/
EXPOSE 8080
CMD [ "dumb-init", "node", "./bundle.js" ]