Hi,
I’m trying to deploy a web server, but I’m getting an “HTTP health checks failed” message.
I’m pretty sure my server is properly listening on port 80, and I’ve put EXPOSE 80 in my Dockerfile.
What I think is going on is that it takes my server about 12 seconds to initialize, and Aptible is only waiting two or three seconds to decide that it has failed.
How can I fix this?
remote: INFO – : Waiting on shell to respond to HTTP health checks…
remote: ERROR – : Container for shell failed to start (exited with status 0 after 0 seconds).
remote: ERROR – : 1 of 1 HTTP health checks failed.
remote: (8ミ | FATAL: Deploy failed.