添加正向代理

This commit is contained in:
AKW 2024-01-12 15:15:12 +08:00
parent 9087bf70ef
commit 7501df4da8
2 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
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

1
start
View File

@ -1,4 +1,5 @@
#!/bin/bash
gunicorn -c yzk_wechat_event/gunicorn.conf.py yzk_wechat_event.wsgi:application &
& echo '121.41.112.68 qyapi.weixin.qq.com' >> /etc/hosts
tail -f logs/*.log