feat: 增加默认html页面

This commit is contained in:
李岩岩 2025-12-25 17:54:12 +08:00
parent eb565ca422
commit d45b051bc5

View File

@ -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;"]