Change the axios base_url to your deployed backend URL
- Update your image repository URL in
docker-compose.yml
(E.g DockerHub) - Run the following commands
docker-compose down
docker-compose build
docker tag {image_url} {image_url}:latest
docker push {image_url}:latest
- Access your VM and copy the
docker-compose.yml
- Run
docker-compose up -d
- To verify if the docker container is running, run
docker ps
Route your traffic using nginx to proxy to port 3000 (127.0.0.0:3000) nginx