docker flags in docker-compose code example
Example 1: entrypoint vs command docker-compose
sudo nano Dockerfile
Example 2: docker compose entrypoint
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s