Pass command being executed when retrieving DOCKER_ARGS via pluginhook. Closes #829
This commit is contained in:
1 parent
1d6d5755d4
commit
93a01fb763
2 files changed
+2
-2
No files matched your search
@@ -81,7 +81,7 @@ case "$1" in
|
||||
fi
|
||||
|
||||
# start the app
|
||||
DOCKER_ARGS=$(: | pluginhook docker-args $APP)
|
||||
DOCKER_ARGS=$(: | pluginhook docker-args $APP deploy)
|
||||
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-9.]*://')
|
||||
|
||||
|
||||
Reference in new issue
Block a user