Created
May 19, 2019 18:30
-
-
Save eduzen/7dd0458f5e2eeb2d9d8bbf235bd0102a to your computer and use it in GitHub Desktop.
Dockerfile for Python script based on debian image.
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 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
CMD [ "python", "./your-daemon-or-script.py" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment