install for production in docker
This commit is contained in:
parent
9163129347
commit
f750223ddf
|
@ -5,9 +5,6 @@ COPY . /opt/code
|
||||||
WORKDIR /opt/code
|
WORKDIR /opt/code
|
||||||
|
|
||||||
RUN rm -rf node_modules package_lock.json && \
|
RUN rm -rf node_modules package_lock.json && \
|
||||||
npm install
|
npm install --prod
|
||||||
|
|
||||||
# global deps
|
|
||||||
RUN npm i -g gulp-cli
|
|
||||||
|
|
||||||
CMD [ "/bin/sh", "-c", "/opt/code/run_instance.sh" ]
|
CMD [ "/bin/sh", "-c", "/opt/code/run_instance.sh" ]
|
Loading…
Reference in New Issue