aaron
Docker image builds but stalls on deploy with no error
Its a multi stage build file with multiple targets.
By default, a Dockerfile runs to the bottom so railway would use the stage at the bottom.
But when using tools e.g. docker compose, you can explicitly target an intermediate stage and run the container from there.
https://docs.docker.com/build/building/multi-stage/#stop-at-a-specific-build-stage
35 replies
Docker image builds but stalls on deploy with no error
No, that is a single Dockerfile.
By default the last stage is targeted which is called runner.
The previous stages are only targeted by other tools for use with devcontainers, and integration tests.
But the Dockerfile hasn't changed since the previous working deployment which was earlier today.
35 replies
Previously working Docker image service not deploying
No, it was our own docker container.
The build logs say it is published, but after that nothing seems to happen.
The deploy logs show nothing:
No deployment logs. All output sent to stdout will be displayed hereNormally, when there is a problem with the container, you at least see some error logs, but it doesn't even seem like its attempted to start. Everything works if we build the Docker file locally.
27 replies