Last active
August 30, 2019 10:23
-
-
Save Beomi/bd7bd1beee9b7b9979878b4c2cd022ec to your computer and use it in GitHub Desktop.
Dockerfile for python(django) project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7 | |
ENV PYTHONUNBUFFERED 1 | |
ENV PIPENV_VENV_IN_PROJECT 1 | |
RUN mkdir /code | |
WORKDIR /code | |
RUN pip install -U pip && \ | |
pip install pipenv | |
COPY Pipfile* /code/ | |
RUN pipenv install --system | |
COPY . /code/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment