Spaces:
Configuration error
Configuration error
File size: 432 Bytes
e8167be | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
$ImageName = "abdanhafidz/runpod-rag-backend"
$Tag = "v1.0.1"
$Dockerfile = "Dockerfile.runpod"
Write-Output "Building Image..."
docker build --platform linux/amd64 -f $Dockerfile -t "${ImageName}:${Tag}" .
Write-Output "Build Finished"
Write-Output "Test image locally..."
docker run -p 7860:7860 "${ImageName}:${Tag}"
Write-Output "Push image ke Docker Hub..."
docker push "${ImageName}:${Tag}"
Write-Output "🎉 Selesai!"
|