Last active
October 3, 2019 09:56
-
-
Save ep4sh/f7ebb2574b3fb1f5bb55ef2e31751398 to your computer and use it in GitHub Desktop.
python dockerfile
This file contains hidden or 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
# Happy hack! | |
FROM python:slim | |
ENV APP=/data/app | |
WORKDIR $APP | |
COPY *.py $APP | |
COPY requirements.txt $APP | |
RUN pip3 install --upgrade pip && pip3 install -r requirements.txt | |
CMD ["python3","script.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment