Created
May 20, 2019 21:24
-
-
Save moshfiqur/6debe2c7bd387191c527f22235a61260 to your computer and use it in GitHub Desktop.
Dockerfile for Demo Flask App deployed on Google App Engine
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.6 | |
WORKDIR /usr/src/app | |
# To avoid invalidating docker's build | |
# cache everytime we are copying the app | |
# into the image, we will copy the | |
# requirements.txt first and then in later | |
# step we will copy the entire app | |
COPY requirements.txt /usr/src/app/ | |
RUN pip install -r requirements.txt | |
COPY . /usr/src/app/ | |
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment