diff --git a/src/document/Dockerfile b/src/document/Dockerfile index e6a4de344..e184393d5 100644 --- a/src/document/Dockerfile +++ b/src/document/Dockerfile @@ -1,6 +1,6 @@ -FROM nginx:alpine +FROM nginx:1.17 -COPY openapi/* /usr/share/nginx/html/ -COPY default.conf /etc/nginx/conf.d/ +COPY openapi/ /usr/share/nginx/html/openapi +COPY default.conf /etc/nginx/conf.d/default.conf EXPOSE 80 \ No newline at end of file diff --git a/src/document/default.conf b/src/document/default.conf index c8e646dea..a34157dcf 100644 --- a/src/document/default.conf +++ b/src/document/default.conf @@ -3,7 +3,7 @@ server { server_name _ default; location / { - root /usr/share/nginx/html/; + root /usr/share/nginx/html/openapi/; index index.html; }