platform/pods/front/Dockerfile
Andrey Sobolev f8cc27b590
UBERF-6523: Allow to use zstd (#5333)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-04-12 13:30:07 +07:00

12 lines
259 B
Docker

FROM node:20
ENV NODE_ENV production
WORKDIR /app
RUN npm install --ignore-scripts=false --verbose sharp@v0.32.6 bufferutil utf-8-validate @mongodb-js/zstd --unsafe-perm
COPY bundle/bundle.js ./
COPY dist/ ./dist/
EXPOSE 8080
CMD [ "node", "./bundle.js" ]