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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user