Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 构建阶段:处理插件和元数据
# FROM python:3.11-alpine AS builder
FROM higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/python:3.11-alpine AS builder
Comment thread
CH3CHO marked this conversation as resolved.
Outdated

# 安装系统依赖
Expand Down Expand Up @@ -26,7 +27,8 @@ COPY pull_plugins.py plugins.properties ./
RUN python3 pull_plugins.py

# 运行阶段:最终镜像
FROM docker.io/nginx:alpine
# FROM nginx:alpine
FROM higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/nginx:alpine

# 从构建阶段复制生成的文件
COPY --from=builder /workspace/plugins /usr/share/nginx/html/plugins
Expand Down
Loading