BobbyOrlando
BobbyOrlando

Reputation: 148

With PHP Deployer new code only shows up when recreating docker NGINX container

my setup is as follows: I have a CI/CD pipeline with tests running on one server and then with Gitea Actions (like Github's) I use Deployer to push them to another server.

Now this works perfectly and the new code is actually in the current directory of the releases Deploer creates on the new server, but this doesn't reflect on the webpages themselves.

It still runs the old code that is probably cached in Docker because the new code only starts to be seen when I recreate the NGINX docker container.

Any help on how I can solve this?

Upvotes: 0

Views: 23

Answers (0)

Related Questions