install for production in docker
This commit is contained in:
parent
9163129347
commit
f750223ddf
|
@ -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" ]
|
Loading…
Reference in New Issue