There was an error while loading. Please reload this page.
You should then be in the virtual machine:
In your local terminal send the docker-compose.yaml to the virtual machine:
scp -i ~/[path to your ssh file] [path to your docker.yaml] azureuser@20.84.111.219:~
Go to src/backend and execute the commands to build and push your image:
docker build -t [your docker username]/api:latest .
docker push nidhib03/api:latest
In the virtual machine, navigate to the directory your docker-compose.yaml is stored and pull the image:
docker pull nidhib03/api:latest
Now run the docker compose file:
docker-compose up -d