Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@naveed125
Created May 2, 2020 20:08
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 naveed125/5c577e8ce351e35d8378ef9953a6b0c8 to your computer and use it in GitHub Desktop.
Save naveed125/5c577e8ce351e35d8378ef9953a6b0c8 to your computer and use it in GitHub Desktop.
Flask Server Dockerfile
FROM python:3.8.2-alpine
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app
ENTRYPOINT [ "python" ]
CMD [ "app.py" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment