feat: 增加默认html页面
This commit is contained in:
parent
eb565ca422
commit
d45b051bc5
@ -3,6 +3,9 @@ FROM docker.liyanyan.work/library/nginx:alpine
|
|||||||
# Copy our default server config; site content is not baked into the image.
|
# Copy our default server config; site content is not baked into the image.
|
||||||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
# Copy static site content
|
||||||
|
COPY example/site/index.html /usr/share/nginx/html/index.html
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user