Skip to content

Instantly share code, notes, and snippets.

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 -P /tmp \
&& unzip -q /tmp/ -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/ --host= --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