Fixed Dockerfile

This commit is contained in:
benweet 2018-01-20 11:24:43 +00:00
parent 5aec35cb43
commit 97c6346953

View File

@ -14,7 +14,7 @@ WORKDIR /opt/stackedit
COPY package*json /opt/stackedit/ COPY package*json /opt/stackedit/
COPY gulpfile.js /opt/stackedit/ COPY gulpfile.js /opt/stackedit/
RUN npm install \ RUN npm install --unsafe-perm \
&& npm cache clean --force && npm cache clean --force
COPY . /opt/stackedit COPY . /opt/stackedit
ENV NODE_ENV production ENV NODE_ENV production