added ENV to Dockerfile, also deployment to circleci

This commit is contained in:
Danny Coates 2017-06-20 15:48:36 -07:00
parent 53f264e63b
commit f7c1b1718e
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 13 additions and 23 deletions

View file

@ -5,5 +5,7 @@ WORKDIR /app
RUN mkdir static
RUN npm install
EXPOSE 1443
ENV PORT=1443
EXPOSE $PORT
CMD ["npm", "start"]