1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-12 16:25:41 +00:00

Created Dockerfile and configs for production

This commit is contained in:
Jacob Q Wimer
2015-09-30 08:37:24 -04:00
parent 6756b86c18
commit 40bff9250d
5 changed files with 106 additions and 1 deletions

9
rails-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 .
sudo docker run -d --restart=always -p 80:80 -p 443:443 $1