Created
February 6, 2020 01:09
-
-
Save ak9999/c9ec54a5ccf1335ade5ecc1a856a7f9e to your computer and use it in GitHub Desktop.
Here's a dummy docker file. Assume this is in a top level folder that has some folder called `contained` with an __init__.py in there that runs the app.
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.7-slim | |
COPY contained /src/app/contained | |
WORKDIR /src/app | |
RUN pip install Flask | |
ENV FLASK_APP contained | |
CMD ["flask", "run", "--host=0.0.0.0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment