Last active
May 3, 2017 07:13
-
-
Save eMahtab/6eea89be9a487f2b12cbe713d6481060 to your computer and use it in GitHub Desktop.
Python-Flask-Hello-World-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
FROM python:3.5 | |
RUN pip install Flask==0.11.1 | |
RUN useradd -ms /bin/bash admin | |
USER admin | |
COPY app /app | |
WORKDIR /app | |
CMD ["python", "app.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment