refactor(docker): 移除Dockerfile中的代理设置
代理设置已不再需要,简化构建环境配置
This commit is contained in:
parent
583a17b37d
commit
4380165919
@ -28,12 +28,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone &
|
|||||||
COPY ../pyproject.toml /app/pyproject.toml
|
COPY ../pyproject.toml /app/pyproject.toml
|
||||||
COPY ../.python-version /app/.python-version
|
COPY ../.python-version /app/.python-version
|
||||||
|
|
||||||
# 安装依赖项
|
|
||||||
ENV HTTP_PROXY=http://172.19.13.5:7890 \
|
|
||||||
HTTPS_PROXY=http://172.19.13.5:7890 \
|
|
||||||
http_proxy=http://172.19.13.5:7890 \
|
|
||||||
https_proxy=http://172.19.13.5:7890
|
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
uv sync --no-install-project
|
uv sync --no-install-project
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user