platform/pods/front/Dockerfile
Andrey Sobolev c9e1d9fd51
UBERF-4527: Extra logging for client (#4133)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-12-04 23:03:21 +07:00

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