Skip to content

Instantly share code, notes, and snippets.

@kshailen
Created June 5, 2020 07:21
Show Gist options
  • Save kshailen/ef1ca8f7172ee2f917b9dc783ff74715 to your computer and use it in GitHub Desktop.
Save kshailen/ef1ca8f7172ee2f917b9dc783ff74715 to your computer and use it in GitHub Desktop.
Sample Dockerfile
FROM python:2.7-alpine
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
ENV appname TestApp
ENV version=1.0
EXPOSE 80
CMD gunicorn app:app -b 0.0.0.0:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment