Do not install dev dependencies when build docker image

This commit is contained in:
Petr Sloup 2016-04-18 10:47:45 +02:00
parent b6ad565e31
commit 3b92c6109b

View file

@ -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