a guest Oct 10th, 2019 71 in 4 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- FROM ubuntu
- COPY . /home/project
- COPY ./req.txt /home/project/req.txt
- RUN apt-get -y update && \
- apt-get -y install python python-setuptools \
- python-pip python-dev && \
- pip install -r /home/project/req.txt --default-timeout=360
- VOLUME ["/home/project/media"]
- WORKDIR "/home/project"
- ENTRYPOINT ["python", "manage.py", "runserver"]
RAW Paste Data