refactored docker build

This commit is contained in:
Danny Coates
2017-06-23 17:55:39 -07:00
parent 9bcd186d8f
commit 8775583088
5 changed files with 32 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ RUN chown -R app /app
USER app
WORKDIR /app
RUN mkdir static
RUN npm install && npm cache clean --force
RUN npm install --production && npm cache clean --force
ENV PORT=1443
EXPOSE $PORT