fix error package name and add pip mirrorwq

This commit is contained in:
virusdefender 2015-12-12 15:59:58 +08:00
parent 7f33e54680
commit d7d597cc23
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@ ENV PYTHONBUFFERED 1
RUN mkdir -p /code/log /code/test_case /code/upload
WORKDIR /code
ADD requirements.txt /code/
RUN pip install -r requirements.txt
RUN pip install -i http://pypi.douban.com/simple -r requirements.txt --trusted-host pypi.douban.com
EXPOSE 8010
CMD supervisord
CMD supervisord

View File

@ -12,4 +12,4 @@ pillow
jsonfield
Envelopes
celery
djcelery
django-celery