Created
April 23, 2018 20:00
-
-
Save Ryan-Gordon/6a5995236bf9e2492ddca804d0e42a8c to your computer and use it in GitHub Desktop.
Flask Dockerfile running with Flask Web Server
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.6 | |
RUN mkdir /code | |
WORKDIR /code | |
ADD . /code/ | |
RUN pip install -r requirements.txt | |
EXPOSE 2025 | |
CMD ["python3", "/code/app.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment