Browse Source

fix(Docker) #6211: Bug where SWAGGER_JSON is used without mount (#6212)

bubble
Wesley Schwengle 4 years ago
committed by GitHub
parent
commit
e85b6f2837
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      docker/run.sh

+ 1
- 0
docker/run.sh View File

@@ -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


Loading…
Cancel
Save