9c0e648f by lihua

修复下载本地文件

1 parent beacc749
...@@ -5,6 +5,7 @@ VOLUME /tmp ...@@ -5,6 +5,7 @@ VOLUME /tmp
5 #将当前文件夹的dist文件复制到容器的/usr/share/nginx/html目录 5 #将当前文件夹的dist文件复制到容器的/usr/share/nginx/html目录
6 COPY ./dist/* /usr/share/nginx/html/ 6 COPY ./dist/* /usr/share/nginx/html/
7 COPY ./dist/assets /usr/share/nginx/html/assets 7 COPY ./dist/assets /usr/share/nginx/html/assets
8 COPY ./dist/files /usr/share/nginx/html/files
8 COPY default.conf /etc/nginx/conf.d/ 9 COPY default.conf /etc/nginx/conf.d/
9 #声明运行时容器暴露的端口(容器提供的服务端口) 10 #声明运行时容器暴露的端口(容器提供的服务端口)
10 RUN chown -R nginx:nginx /usr/share/nginx/html 11 RUN chown -R nginx:nginx /usr/share/nginx/html
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!