bin/Dockerfile

10 lines
174 B
Docker
Raw Permalink Normal View History

2023-03-04 03:39:13 +01:00
FROM node:19
COPY . /opt/code
WORKDIR /opt/code
RUN rm -rf node_modules package_lock.json && \
2023-03-04 07:57:29 +01:00
npm install --prod
2023-03-04 06:47:29 +01:00
2023-03-04 03:39:13 +01:00
CMD [ "/bin/sh", "-c", "/opt/code/run_instance.sh" ]