1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 19:45:45 +00:00
Files
wrestlingdev.com/rails-worker-prod.sh
2016-01-14 19:28:36 +00:00

9 lines
256 B
Bash
Executable File

#!/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 jobs:work