Skip to content

Instantly share code, notes, and snippets.

@gsampallo
Created May 7, 2022 15:06
Show Gist options
  • Save gsampallo/e662c1bd7c4e832105aad95a41fa19b3 to your computer and use it in GitHub Desktop.
Save gsampallo/e662c1bd7c4e832105aad95a41fa19b3 to your computer and use it in GitHub Desktop.
dockerfile Python
FROM python:latest
LABEL Maintainer="gsampallo"
WORKDIR /usr/app/src
COPY *.py ./
COPY requirements.txt ./
COPY test.jpg ./
RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "./test.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment