At a glance, seeing that the compile-value of what looks like Endpoint config appears to be for dev env and the runtime-value appears to be for prod env (I see 443 port and server: true).
I do not see how this could be happening because you are setting MIX_ENV correctly in both builder and runner images.






















