Skip to content

Instantly share code, notes, and snippets.

@Ryan-Gordon
Created April 23, 2018 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ryan-Gordon/6a5995236bf9e2492ddca804d0e42a8c to your computer and use it in GitHub Desktop.
Save Ryan-Gordon/6a5995236bf9e2492ddca804d0e42a8c to your computer and use it in GitHub Desktop.
Flask Dockerfile running with Flask Web Server
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