Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # Pull base image
  2. FROM python:3.7
  3.  
  4. # Set environment variables
  5. ENV PYTHONDONTWRITEBYTECODE 1
  6. ENV PYTHONUNBUFFERED 1
  7.  
  8. # Set work directory
  9. WORKDIR /code
  10.  
  11. # Install dependencies
  12. COPY Pipfile Pipfile.lock /code/
  13. RUN pip install pipenv && pipenv install --system
  14.  
  15. # Copy project
  16. COPY . /code/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement