Skip to content

Instantly share code, notes, and snippets.

@seahrh
Created April 6, 2020 03:58
Show Gist options
  • Save seahrh/d168f92c3e97c1bbc43d7b24280746fe to your computer and use it in GitHub Desktop.
Save seahrh/d168f92c3e97c1bbc43d7b24280746fe to your computer and use it in GitHub Desktop.
dataflow python app Dockerfile
FROM python:3.7-slim-buster
WORKDIR /app
COPY app app
COPY *.py ./
COPY *.ini ./
RUN python --version \
&& python -m ensurepip --default-pip \
&& python -m pip install --upgrade pip setuptools wheel \
&& pip install . \
&& pip list
ENTRYPOINT ["python", "/app/main.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment