circleci configuration and docker build

This commit is contained in:
Zachary Chai
2016-11-30 15:50:50 -05:00
parent f0128951f4
commit 07bf1e2c15
5 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash
docker build -f Dockerfile.prod -t zachblind/greenlight:master .
docker login -e zachary.chai@blindsidenetworks.com -u $DOCKER_USER -p $DOCKER_PASS
docker push zachblind/greenlight:master

5
scripts/default_start.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
rake db:migrate
exec bundle exec puma -C config/puma.rb