From 3dd5243c4b938176fe690e45ac541b4e2dec09a3 Mon Sep 17 00:00:00 2001 From: Wesley Schwengle Date: Mon, 6 Jul 2020 13:42:34 -0400 Subject: [PATCH] Fix(Docker) #6211: Bug where SWAGGER_JSON is used without mount Signed-off-by: Wesley Schwengle --- docker/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/run.sh b/docker/run.sh index 2ab717f0ffd..c3899f2765c 100644 --- a/docker/run.sh +++ b/docker/run.sh @@ -36,6 +36,7 @@ if [ "$SWAGGER_JSON_URL" ]; then fi if [[ -f "$SWAGGER_JSON" ]]; then + cp -s "$SWAGGER_JSON" "$NGINX_ROOT" REL_PATH="./$(basename $SWAGGER_JSON)" if [[ -z "$SWAGGER_ROOT" ]]; then