[#6] 修改web页面
This commit is contained in:
17
src/web/build_tools/proxy/Dockerfile
Normal file
17
src/web/build_tools/proxy/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# 使用轻量级 Nginx 基础镜像
|
||||
FROM nginx:1.25-alpine
|
||||
|
||||
# 删除默认配置
|
||||
RUN rm -rf /etc/nginx/conf.d/*
|
||||
|
||||
# 复制自定义 Proxy 配置
|
||||
# (可以在构建时直接COPY进去,也可以运行时挂载)
|
||||
COPY conf.d/ /etc/nginx/conf.d/
|
||||
|
||||
# 日志目录(可选)
|
||||
VOLUME ["/var/log/nginx"]
|
||||
|
||||
# 暴露端口
|
||||
EXPOSE 80 443
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user