Docker content not being updated after build and deploy
Hi.
I'm right now deploying an backend application via github repository. This application contains a Dockerfile.
What I've seen is the application conten itself is not being updated after the deployment process is completed. I've added some logs that are never appearing.
How could I solve this?
16 Replies
Project ID:
00f2f7ed-42e1-4e4a-a708-3caa1e2c1718
00f2f7ed-42e1-4e4a-a708-3caa1e2c1718
what kind of content?
The application itself is not being updated.
As I stated I updated and added some logs.
But after trying once the deployment is done. Every log message remains the same as before.
are you deploying from the correct branch?
Yes. Main branch is the one attached. I can see how this triggers the building and deployment process
some logs aren't printing does not give me enough information as I know nothing about your application, for example I don't the condition for these "logs" to print
No conditions. For example.
I was printing an object and it was showing as ¨Object¨ in the log, Now I am JSON.stringifying it and it works as expected in my local env.
But this change is not being reflected once deployed.
I've tried with custom build command to explicitly add a --no-cache tag but still. Same result.
what custom command?
docker build --no-cache
railway does not accept docker commands in any capacity, so I'm not too sure what you've done there
It was worth the shot.
Either way I removed it.
What I just realized is that even if my service has a name. "talk2text-worker". What I see in the logs is another service name "24b82aa5".
But, when the service is stopped for a deployment the logs shows it by its name.
I'm attaching an screnshot of the architecture also.
Is it a phatom service picking up the items from my queue??? 🤔
I had to drop the project and recreated.
now everything seems to we working fine
🤷♂️
awsome!, likely had something misconfigured somewhere is all
I've the same problem, but I'm using a Docker Hub image.
cb9c28b0-a723-4b47-9086-3e2019b5d59d
adegaasociacion/wordpress
please open your own thread