res.limli.top/Dockerfile
root bf4b174a6c
All checks were successful
/ build-and-push-blog (push) Successful in 13s
添加action
2025-04-04 04:57:33 +00:00

10 lines
228 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM gitea.limil.top/limil/nginx:1.25.3-alpine
# 从构建阶段复制生成的文件
COPY web /usr/share/nginx/html
# 暴露80端口
EXPOSE 80
# 启动Nginx保持前台运行
CMD ["nginx", "-g", "daemon off;"]