Update Dockerfile
Showing
1 changed file
with
1 additions
and
1 deletions
| 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 | ... | ... |
-
Please register or sign in to post a comment