1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Need to remove container after killing it

This commit is contained in:
2016-01-18 21:32:54 +00:00
parent 8ddb4a50a6
commit 253fcf8496
2 changed files with 2 additions and 0 deletions

View File

@@ -7,4 +7,5 @@ fi
docker build -t $1 -f rails-prod-Dockerfile .
docker kill $1
docker rm $1
docker run --name $1 -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE -p 80:80 -p 443:443 $1

View File

@@ -7,4 +7,5 @@ fi
docker build -t $1 -f rails-prod-Dockerfile .
docker kill $1
docker rm $1
docker run --name $1 -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE $1 bundle exec rake jobs:work RAILS_ENV=production