Merge branch 'fix-port-ip'

This commit is contained in:
Jose Diaz-Gonzalez
2014-10-16 00:37:24 -04:00

2
dokku
View File

@@ -64,7 +64,7 @@ case "$1" in
# start the app
DOCKER_ARGS=$(: | pluginhook docker-args $APP)
id=$(docker run -d -p 5000 -e PORT=5000 $DOCKER_ARGS $IMAGE /bin/bash -c "/start web")
port=$(docker port $id 5000 | sed 's/0.0.0.0://')
port=$(docker port $id 5000 | sed 's/[0-9.]*://')
# if we can't post-deploy successfully, kill new container
function kill_new {