Created
May 2, 2020 20:08
-
-
Save naveed125/5c577e8ce351e35d8378ef9953a6b0c8 to your computer and use it in GitHub Desktop.
Flask Server Dockerfile
This file contains 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.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