[docker] update Dockerfile to set no_proxy and fix pydantic version (#8651)

This commit is contained in:
krli 2025-10-01 14:33:47 +08:00 committed by GitHub
parent 1c44b60e3e
commit d10d65e4ce

View File

@ -66,6 +66,12 @@ EXPOSE 8000
ENV http_proxy=
ENV https_proxy=
# Set no_proxy environment variable
ENV no_proxy="localhost, 127.0.0.1, ::1"
# fix pydantic version
RUN pip install pydantic==2.10.6
# Reset pip config
RUN pip config unset global.index-url && \
pip config unset global.extra-index-url