Dockerfile for automated docker deployment (#1)

* Initial Dockerfile

* Dockerfile: install without caching in production

* dockerfile: added ARG/ENV for deployment dir

* dockerfile: removed unnecessary tinkering with PYTHONPATH

* dockerfile: added ARG/ENV for listening port

* dockerfile: added cleanup of tests and makefile

* dockerfile: added health check
This commit is contained in:
Kai Fabian
2018-10-21 19:22:15 +02:00
committed by f4lco
parent e0b88bbc87
commit 0653c75e43
2 changed files with 71 additions and 0 deletions
+4
View File
@@ -54,3 +54,7 @@ def canteen_feed(canteen_name):
canteen = config[canteen_name]
menu = get_menu_cached(canteen)
return canteen_feed_xml(canteen, menu)
@app.route('/health_check')
def health_check():
return make_response("OK", 200)