chore(docker): 增加USE_PROXY构建参数
- 在Dockerfile.base中添加ARG USE_PROXY变量 - 设定默认值为1以控制代理使用 - 为后续构建配置提供灵活性
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
FROM python:3.13-slim
|
||||
|
||||
ARG USE_PROXY=1
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
|
||||
Reference in New Issue
Block a user