Skip to content

How To Deploy Bridge On Azure

Nids22 edited this page Jul 1, 2024 · 16 revisions

Connect to your VM

  • cd into the directory your ssh key is stored

image

You should then be in the virtual machine:

image

Deploy Backend

  • Replace the api image name in the dockerfile to your accountName/containerName:[tag] like below

image

  • 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 command: docker build -t [your docker username]/api:latest .

Clone this wiki locally