AntonDnepr

Docker config file

Dec 10th, 2019
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. devops/docker/python/Dockerfile
  2.  
  3. FROM python:3.6.7
  4.  
  5. # Install Python and Package Libraries
  6. RUN apt-get update && apt-get install -qq -y \
  7.     libffi-dev \
  8.     libssl-dev \
  9.     libxml2-dev \
  10.     libxslt-dev \
  11.     libjpeg-dev \
  12.     libfreetype6-dev \
  13.     zlib1g-dev \
  14.     && rm -rf /var/lib/apt/lists/*
  15.  
  16. RUN mkdir -p /usr/src/app
  17.  
  18. WORKDIR /usr/src/app
  19.  
  20. RUN pip install pipenv
  21.  
  22. RUN pipenv run ./manage.py runserver 8080
RAW Paste Data