forgot to offest args vars

This commit is contained in:
Jeff Lindsay
2013-06-30 08:36:49 -05:00
parent 6d2954d11b
commit caa03d0554

2
dokku
View File

@@ -26,7 +26,7 @@ set -e; case "$1" in
;; ;;
deploy) deploy)
APP="$1"; IMAGE="$2" APP="$2"; IMAGE="$3"
if [[ ! -f "$HOME/$APP/PORT" ]]; then if [[ ! -f "$HOME/$APP/PORT" ]]; then
# First deploy # First deploy
id=$(docker run -d -p 5000 -e PORT=5000 $IMAGE /bin/bash -c "/start web") id=$(docker run -d -p 5000 -e PORT=5000 $IMAGE /bin/bash -c "/start web")