Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Pull base image
- FROM python:3.7
- # Set environment variables
- ENV PYTHONDONTWRITEBYTECODE 1
- ENV PYTHONUNBUFFERED 1
- # Set work directory
- WORKDIR /code
- # Install dependencies
- COPY Pipfile Pipfile.lock /code/
- RUN pip install pipenv && pipenv install --system
- # Copy project
- COPY . /code/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement