File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,16 @@ RUN virtualenv /env
2727# the context of the virtualenv and will have access to its dependencies.
2828ENV VIRTUAL_ENV /env
2929ENV PATH /env/bin:$PATH
30+
31+ # Kinto config file
3032ENV KINTO_INI /etc/kinto/kinto.ini
3133
3234# Install dependencies.
3335ADD requirements.txt /app/requirements.txt
3436RUN pip install -r /app/requirements.txt
37+ # Create Kinto config file and replace 8888 with 8080
3538RUN kinto --ini $KINTO_INI --backend=memory init && sed -i 's/8888/8080/g' $KINTO_INI
3639
37- # Add application code.
38- ADD . /app
39-
40- # Use Gunicorn to serve the application.
40+ # Run the Kinto kickoff command
4141CMD kinto --ini $KINTO_INI migrate && kinto --ini $KINTO_INI start
4242
Original file line number Diff line number Diff line change 1717
1818runtime : custom
1919vm : true
20- health_check :
21- enable_health_check : False
20+
21+ # Kinto does not respond 404 to /_ah/health (sends a redirect)
2222vm_health_check :
2323 enable_health_check : False
2424
25- manual_scaling :
26- instances : 1
27-
2825# Temporary setting to keep gcloud from uploading the virtualenv
2926skip_files :
3027 - ^v?env$
You can’t perform that action at this time.
0 commit comments