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

Updated docker stuff

This commit is contained in:
Jacob Q Wimer
2015-09-29 11:06:30 -04:00
parent b35d202a61
commit 6756b86c18
5 changed files with 35 additions and 32 deletions

11
rails-dev.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash -e
if [ $# != 1 ]; then
echo "Please enter docker image name for the rails development environment"
exit 1
fi
APPPATH="$(pwd)"
docker build -t $1 -f rails-dev-Dockerfile .
docker run -it -p 3000:3000 -v ${APPPATH}:/rails $1 /bin/bash