This repository was archived by the owner on Jan 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,8 +73,10 @@ repository.
7373- Copy the resulting tar.gz file to your application's folder, in the same
7474directory as the Dockerfile.
7575- Edit the Dockerfile in your application and look for the line that says
76- ` COPY (...) /home/vmagent/python-runtime.tar.gz `
77- - Replace the URL in that line with the filename of your generated tar.gz file.
76+ ` ADD (...) /home/vmagent/python-runtime.tar.gz `
77+ - Replace that line with a COPY command, with the filename of your generated
78+ tar.gz file instead of the URL as the source, and the same destination. An
79+ example is included in the Dockerfile comments.
7880- Deploy your application. A warning during deployment where your tar.gz file is
7981rejected for addition because it is too large can be ignored.
8082
Original file line number Diff line number Diff line change @@ -5,7 +5,11 @@ RUN apt-get -q update && \
55 python2.7 python-pip python-gevent python-greenlet && \
66 apt-get clean && rm /var/lib/apt/lists/*_*
77
8- COPY https://github.com/GoogleCloudPlatform/appengine-python-vm-runtime/releases/download/0.1/python-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
8+ ADD https://github.com/GoogleCloudPlatform/appengine-python-vm-runtime/releases/download/v0.1/appengine-python-vm-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
9+
10+ # To use a custom-built version of the runtime, comment out the above ADD
11+ # command and instead use the following line:
12+ # COPY appengine-python-vm-runtime-0.1.tar.gz /home/vmagent/python-runtime.tar.gz
913
1014RUN pip install --upgrade pip>=6.1.1 gunicorn==19.1.1
1115RUN pip install /home/vmagent/python-runtime.tar.gz
You can’t perform that action at this time.
0 commit comments