DEV Community

Discussion on: Deploying Next.js apps to a VPS using Github actions and Docker

 
lewiskori profile image
Lewis kori

Hey dude. That's not a problem.
New containers get a unique ID every time :)

Thread Thread
 
aeshevch profile image
Александр Шевченко

Yes, I know. The problem is not that, the problem is that new changes are not being pulled up

Thread Thread
 
aeshevch profile image
Александр Шевченко

It has now been updated when I manually made "docker rm -vf$(docker ps -aq) and docker rmif$(docker images -aq)" on the server before the deployment