Last active
May 8, 2020 15:04
-
-
Save dianaarnos/8c3ddc2b2629fecfc4d67929c72131a3 to your computer and use it in GitHub Desktop.
Basic python 3 Dockerfile
This file contains 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-alpine | |
WORKDIR /usr/src/app | |
COPY requirements.txt | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY src/ . | |
#VOLUME src/ /usr/src/app | |
# run with docker run -it --rm <tagname> | |
# to run with interactive shell, add /bin/sh at the end of the command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment