添加正向代理
This commit is contained in:
parent
f51830377d
commit
7bf9cc5656
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue