Make sure you have Docker installed and make an account: https://docs.docker.com/engine/install/
Execute make sure you have the application running and authenticated on your machine and that the Docker engine is running.
sudo docker login
Make sure that you are working in a repository with a DockerFile, then run the following command to build a Docker Image.
docker build -t <local-image-name> .
docker tag <local-image-name>:<local-tag> mannvika/set:tag
Pull the docker repository using this command:
docker pull mannvika/set:tag
If you need to, find the docker image name that you created by running:
docker images
Then run the docker, which creates a container using the following command:
sudo docker run -it --rm --network host --device /dev/video0:/devideo0 --privileged -p 8000:8000 mannvika/set:test
After you have confirmed your changes, commit to your branch on github, navigate to the Actions tab, select the Build and Push Docker Image tab on the right-hand side, then click the Run workflow dropdown menu, select a branch to build, then click run workflow.
run on Jetson:
ngrok config add-authtoken YOUR_NGROK_AUTH_TOKEN
ngrok tcp 22
Run on maching sshing:
ssh ufset@8.tcp.ngrok.io -p <port>