documents docker update

master
yixian 5 years ago
parent 02e4e184dc
commit 0713fa5071

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

@ -3,7 +3,7 @@ server {
server_name _ default;
location / {
root /usr/share/nginx/html/;
root /usr/share/nginx/html/openapi/;
index index.html;
}

Loading…
Cancel
Save