install for production in docker

This commit is contained in:
b1ek 2023-03-04 16:57:29 +10:00
parent 9163129347
commit f750223ddf
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 4 deletions

View File

@ -5,9 +5,6 @@ COPY . /opt/code
WORKDIR /opt/code
RUN rm -rf node_modules package_lock.json && \
npm install
# global deps
RUN npm i -g gulp-cli
npm install --prod
CMD [ "/bin/sh", "-c", "/opt/code/run_instance.sh" ]