homepage.js/Dockerfile.prod

12 lines
171 B
Docker
Raw Normal View History

2023-03-10 08:39:12 +01:00
FROM node:19
WORKDIR /opt/code
COPY . /opt/code
RUN rm -rf node_modules package-lock.json yarn.lock && \
2023-03-10 08:39:12 +01:00
npm i --prod && \
./install
CMD [ "npm", "run", "prod" ]