mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Updated docker stuff
This commit is contained in:
11
rails-dev.sh
Executable file
11
rails-dev.sh
Executable 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
|
||||
Reference in New Issue
Block a user