Sfoglia il codice sorgente

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

bubble
Wesley Schwengle 4 anni fa
committed by GitHub
parent
commit
e85b6f2837
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      docker/run.sh

+ 1
- 0
docker/run.sh Vedi 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


Caricamento…
Annulla
Salva