platform/pods/front/Dockerfile

14 lines
252 B
Docker
Raw Normal View History

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.js ./
COPY dist/ ./dist/
EXPOSE 8080
CMD [ "dumb-init", "node", "./bundle.js" ]