Last active
September 12, 2019 21:03
-
-
Save shamaru001/bb39d20aa517c06157e2bae0e6fd62ee to your computer and use it in GitHub Desktop.
Dockerfile for development on flask
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
FROM python:3.7.1-slim-stretch | |
WORKDIR /usr/app/ | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
ENTRYPOINT flask run -h 0.0.0.0 -p 5000 | |
#MOUNT_POINTS | |
VOLUME .:/usr/app/ | |
#EXPOSE PORTS | |
EXPOSE 5000:5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment