FROM realite/python3.6
MAINTAINER AWEN jianwenli@sf-express.com
ADD . /www/mysite/
#COPY requirements.txt /www/mysite/requirements.txt
WORKDIR /www/mysite/
RUN pip install --upgrade pip -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
COPY sources.list /etc/apt/sources.list
RUN apt-get update -y
RUN apt-get install vim -y --allow-unauthenticated
RUN apt-get install curl -y --allow-unauthenticated
#CMD ["python","app.py"]