File size: 338 Bytes
df724f2
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/bash
# Usage: ./scripts/push_docker.sh <dockerhub-username> <tag>
USERNAME=${1:-yourusername}
TAG=${2:-latest}
docker build -t $USERNAME/parlay:$TAG .
docker push $USERNAME/parlay:$TAG
echo "Pushed $USERNAME/parlay:$TAG"
echo "For HF Spaces: set Dockerfile app_port to 7860 and push repo to huggingface.co/spaces/$USERNAME/parlay"