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

@ -2,3 +2,10 @@ machine:
node:
version: 8.0.0
deployment:
latest:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build . -t mozilla/portal:latest
- docker push mozilla/portal:latest