I had to perform these steps to deploy my Nodejs/Angular site to AWS via DockerCloud
- Write Dockerfile
- Build Docker Images base on my Dockerfiles
- Push those images to Docker Hub
- Create Node Cluster on DockerCloud Account
- Write Docker stack file on DockerCloud
- Run the stack on DockerCloud
- See the instance running in AWS, and can see my site
If we require a small thing changes that require a pull from my project repo. BUT we already deployed our dockers as you may know.
What is the best way pull those changes into the Docker containers that already deployed ?
I hope we don’t have to :
- Rebuild our Docker Images
- Re-push those images to Docker Hub
- Re-create our Node Cluster on DockerCloud
- Re-write our docker stack file on DockerCloud
- Re-run the stack on DockerCloud
I was thinking
SSH into a VM that has the Docker running
git pull
npm start
Am I on the right track?