add /health endpoint
Some checks failed
Docker / build (push) Has been cancelled

This commit is contained in:
2025-12-10 19:40:18 -03:00
parent d4dd3c7b18
commit 8a80f2fe75

View File

@@ -31,5 +31,9 @@ def convert_heic_to_jpg():
return f"Error converting file: {e}", 500
return "Invalid file format", 400
@app.route('/health', methods=['GET'])
def health_check():
return "OK", 200
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=False)