refactored docker build

This commit is contained in:
Danny Coates 2017-06-23 17:55:39 -07:00
parent 9bcd186d8f
commit 8775583088
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
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