SHARE
TWEET

dock

a guest Oct 10th, 2019 71 in 4 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM ubuntu
  2.  
  3. COPY . /home/project
  4. COPY ./req.txt /home/project/req.txt
  5.  
  6. RUN apt-get -y update && \
  7.     apt-get -y install python python-setuptools \
  8.     python-pip python-dev && \
  9.     pip install -r /home/project/req.txt --default-timeout=360
  10.  
  11. VOLUME ["/home/project/media"]
  12.  
  13. WORKDIR "/home/project"
  14.  
  15. ENTRYPOINT ["python", "manage.py", "runserver"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top