Hi, I have a
Dockerfile with the last line being:
that’s a shell script that ends with
and then in my
render.yaml I’ve specified
the odd thing is that I have some
echo commands in my entrypoint script, and I’m not seeing the output in the logs for my service. It seems as though my entrypoint script isn’t running. Another bit of evidence that supports this, is that my app depends on an environment variable that’s exported by my entrypoint script, and the app is crashing due to that environment variable being undefined.
And of course it works on my machine… when I run my container using
docker run <my-image> /home/start-gunicorn (not overriding the entrypoint) it’s clear that the entrypoint script does run; I can see the output of the
echo commands and the app doesn’t fail.
So maybe Render is overriding the entrypoint of Docker containers?
If so, I’d be curious why, and whether that could possibly change, and also I’d like to see this added to the documentation.
If not, then I’d love some suggestions as to some other reason why it seems as though my entrypoint script isn’t running.