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

Added worker script

This commit is contained in:
2016-01-14 19:27:32 +00:00
parent 2ebe5cb360
commit 596964b7ac

9
rails-worker-prod.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash -e
if [ $# != 1 ]; then
echo "Please enter docker image name for the rails development environment"
exit 1
fi
docker build -t $1 -f rails-prod-Dockerfile .
docker run -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE $1 rake db:work