Skip to content

Instantly share code, notes, and snippets.

@KozhevnikovM
Created August 13, 2021 07:51
Show Gist options
  • Save KozhevnikovM/104d63aa00182b85b856fe0046d9f14c to your computer and use it in GitHub Desktop.
Save KozhevnikovM/104d63aa00182b85b856fe0046d9f14c to your computer and use it in GitHub Desktop.
Typical Docker file for python development
FROM python3.9
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /code
COPY Pipfile Pipfile.lock /code/
RUN pip install pipenv && pipenv install --system
COPY . /code/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment