소스 검색
fix(Docker) #6211: Bug where SWAGGER_JSON is used without mount (#6212)
bubble
Wesley Schwengle
4 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
0개의 파일을 삭제
-
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 |
|
|
|