Last active
July 5, 2021 22:32
-
-
Save danieleorler/24771fbf5dc58d4131d6b37f655e0ef5 to your computer and use it in GitHub Desktop.
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
# start from a python 2 official image | |
FROM python:2 | |
# install unzip, download and unzip google app engine | |
RUN apt-get update \ | |
&& apt-get install -y unzip \ | |
&& wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.40.zip -P /tmp \ | |
&& unzip -q /tmp/google_appengine_1.9.40.zip -d /opt > /dev/null | |
# expose application and admin port | |
EXPOSE 8080 8000 | |
# start google app engine when the container is ran | |
CMD /opt/google_appengine/dev_appserver.py --host=0.0.0.0 --skip_sdk_update_check=yes --storage_path /usr/share/app/.data /usr/share/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment