Note: Do the port mapping to this port:- 8501
sudo apt-get update -y
sudo apt-get upgrade
#Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker ubuntu
newgrp docker
git clone "your-project"
docker build -t entbappy/stapp:latest .
docker images -a
docker run -d -p 8501:8501 entbappy/stapp
docker ps
docker stop container_id
docker rm $(docker ps -a -q)
docker login
docker push entbappy/stapp:latest
docker rmi entbappy/stapp:latest
docker pull entbappy/stapp