Skip to content

Commit

Permalink
fix(dockerfile) making entrypoint less noisy
Browse files Browse the repository at this point in the history
  • Loading branch information
subnetmarco committed Aug 16, 2017
1 parent 2152eef commit 1995301
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export KONG_NGINX_DAEMON="off"
export KONG_PREFIX="/usr/local/kong"

# Prepare Kong prefix
kong prepare -p "/usr/local/kong"
if [ "$1" = "/usr/local/openresty/nginx/sbin/nginx" ]; then
kong prepare -p "/usr/local/kong"
fi

exec "$@"

0 comments on commit 1995301

Please sign in to comment.