Dockerfile文件+nginx.conf文件+示例图片

This commit is contained in:
tlibn
2022-09-20 12:14:45 +08:00
parent e8f95a4d4d
commit 3e8d494bd8
9 changed files with 52 additions and 0 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM nginx:1.10
COPY dist/ /usr/share/nginx/html/
COPY nginx.conf /etc/nginx
RUN true
VOLUME /mydata/nginx/conf:/etc/nginx
VOLUME /mydata/nginx/html:/usr/share/nginx/html
VOLUME /mydata/nginx/log:/var/log/nginx