add docker containerization

This commit is contained in:
hex
2025-01-18 18:05:21 -08:00
parent f7deb83cb5
commit d504ab5964
3 changed files with 81 additions and 21 deletions

4
app.py
View File

@@ -135,6 +135,10 @@ def delete_recipe_htmx(recipe_id):
db.session.commit()
return '', 200
@app.route('/health')
def health_check():
return {'status': 'healthy'}, 200
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':