Do not install dev dependencies when build docker image
This commit is contained in:
parent
b6ad565e31
commit
3b92c6109b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ RUN apt-get -qq update \
|
|||
|
||||
RUN mkdir -p /usr/src/app
|
||||
COPY / /usr/src/app
|
||||
RUN cd /usr/src/app && npm install
|
||||
RUN cd /usr/src/app && npm install --production
|
||||
|
||||
VOLUME /data
|
||||
WORKDIR /data
|
||||
|
|
Loading…
Reference in a new issue