From 0713fa50713ada2403ec89056b7ef2510bd240df Mon Sep 17 00:00:00 2001 From: yixian Date: Tue, 28 Apr 2020 17:43:16 +1000 Subject: [PATCH] documents docker update --- src/document/Dockerfile | 6 +++--- src/document/default.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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; }