Summary
This PR introduces a health check to the Dockerfile to enhance the application's reliability and facilitate debugging. The health check ensures the application is running correctly by periodically sending requests to the application on port 8000.
🔧 Dockerfile Changes
Added a health check command to the Dockerfile.
The health check runs every 30 seconds, with a timeout of 10 seconds and retries up to 3 times.
Uses curl to verify the application response on http://localhost:8000.
🛠️ Impact
Improves application reliability by automatically detecting failures.
Aids in debugging by providing immediate feedback on application health.
Summary
This PR introduces a health check to the
Dockerfile
to enhance the application's reliability and facilitate debugging. The health check ensures the application is running correctly by periodically sending requests to the application on port 8000.🔧 Dockerfile Changes
Dockerfile
.curl
to verify the application response onhttp://localhost:8000
.🛠️ Impact
📂 File Changes