FROM kfwkfulq.mirror.aliyuncs.com/library/python:3.6 LABEL Name=docker-competition Version=1.0.1 RUN mkdir -p ~/.pip RUN echo '\n\ [global] \n\ trusted-host=mirrors.aliyun.com \n\ index-url=https://mirrors.aliyun.com/pypi/simple/ \ ' > ~/.pip/pip.conf WORKDIR / ADD requirements.txt / RUN python3 -m pip install -r requirements.txt ADD . / CMD ["sh", "run.sh"]