b6bd0a1c by xu

Update Dockerfile

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