Ver código fonte

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

bubble
Wesley Schwengle 4 anos atrás
committed by GitHub
pai
commit
e85b6f2837
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      docker/run.sh

+ 1
- 0
docker/run.sh Ver arquivo

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


Carregando…
Cancelar
Salvar