Skip to content

Instantly share code, notes, and snippets.

@eMahtab
Last active May 3, 2017 07:13
Show Gist options
  • Save eMahtab/6eea89be9a487f2b12cbe713d6481060 to your computer and use it in GitHub Desktop.
Save eMahtab/6eea89be9a487f2b12cbe713d6481060 to your computer and use it in GitHub Desktop.
Python-Flask-Hello-World-Dockerfile
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