Skip to content

Instantly share code, notes, and snippets.

@joaobispo2077
Created February 27, 2022 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaobispo2077/e337c4ddf286623649d4e09ceb63a557 to your computer and use it in GitHub Desktop.
Save joaobispo2077/e337c4ddf286623649d4e09ceb63a557 to your computer and use it in GitHub Desktop.
Simple Docker file for Python
FROM python:3.9-alpine
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY src src
CMD ["python", "src/main.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment