Dockerfile 380 B

12345678910111213141516
  1. FROM kfwkfulq.mirror.aliyuncs.com/library/python:3.6
  2. LABEL Name=docker-competition Version=1.0.1
  3. RUN mkdir -p ~/.pip
  4. RUN echo '\n\
  5. [global] \n\
  6. trusted-host=mirrors.aliyun.com \n\
  7. index-url=https://mirrors.aliyun.com/pypi/simple/ \
  8. ' > ~/.pip/pip.conf
  9. WORKDIR /
  10. ADD requirements.txt /
  11. RUN python3 -m pip install -r requirements.txt
  12. ADD . /
  13. CMD ["sh", "run.sh"]