添加正向代理

This commit is contained in:
AKW 2024-01-12 15:10:11 +08:00
parent f51830377d
commit 7bf9cc5656
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
FROM python:3.11.4
USER root
ENV APP_HOME=/app
RUN mkdir $APP_HOME
WORKDIR $APP_HOME
@ -12,7 +13,7 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN #echo '121.41.112.68 qyapi.weixin.qq.com' >> /etc/hosts
RUN echo '121.41.112.68 qyapi.weixin.qq.com' >> /etc/hosts
RUN mkdir ~/.pip
RUN echo "[global]" > ~/.pip/pip.conf
RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf