mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-21 22:24:29 +00:00
Kill does not need to happen before build
This commit is contained in:
@@ -4,6 +4,7 @@ if [ $# != 1 ]; then
|
||||
echo "Please enter docker image name for the rails development environment"
|
||||
exit 1
|
||||
fi
|
||||
docker kill $1
|
||||
|
||||
docker build -t $1 -f rails-prod-Dockerfile .
|
||||
docker kill $1
|
||||
docker run --name $1 -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE -p 80:80 -p 443:443 $1
|
||||
|
||||
Reference in New Issue
Block a user