FROM python:alpine LABEL Name=google/doo Version=v1.4 # google/doo:v1.4 RUN mkdir -p /root/app ADD . /root/app WORKDIR /root/app RUN mkdir -p ~/.pip RUN echo -e '\n\ [global] \n\ trusted-host=mirrors.aliyun.com \n\ index-url=https://mirrors.aliyun.com/pypi/simple/ \n\ ' > ~/.pip/pip.conf RUN pip install -r requirements.txt EXPOSE 3000 CMD [ "python","./manage.py","runsesrver","0.0.0.0:3000" ]