diff --git a/Dockerfile b/Dockerfile index 2ed78b7..d429009 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/start b/start index 86b4d1e..8a498d0 100644 --- a/start +++ b/start @@ -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