添加正向代理
This commit is contained in:
parent
9087bf70ef
commit
7501df4da8
|
@ -13,7 +13,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
RUN #echo '121.41.112.68 qyapi.weixin.qq.com' >> /etc/hosts
|
|
||||||
RUN mkdir ~/.pip
|
RUN mkdir ~/.pip
|
||||||
RUN echo "[global]" > ~/.pip/pip.conf
|
RUN echo "[global]" > ~/.pip/pip.conf
|
||||||
RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
|
RUN echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
|
||||||
|
|
1
start
1
start
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
gunicorn -c yzk_wechat_event/gunicorn.conf.py yzk_wechat_event.wsgi:application &
|
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
|
tail -f logs/*.log
|
||||||
|
|
Loading…
Reference in New Issue