Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.