feat(starter): intial starter release
This commit is contained in:
15
scripts/dockerBuild.ps1
Normal file
15
scripts/dockerBuild.ps1
Normal file
@@ -0,0 +1,15 @@
|
||||
Write-Host "Building the docker images for front and backend"
|
||||
docker build -t logistics_support_tool:frontend-latest -f ../frontend/Dockerfile ../frontend
|
||||
docker build -t logistics_support_tool:backend-latest -f ../backend/Dockerfile ../backend
|
||||
|
||||
Write-Host "Tagging the builds with latest this is for testing test basically."
|
||||
docker tag logistics_support_tool:frontend-latest git.tuffraid.net/cowch/logistics_support_tool:frontend-latest
|
||||
docker tag logistics_support_tool:backend-latest git.tuffraid.net/cowch/logistics_support_tool:backend-latest
|
||||
|
||||
# docker build -t logistics_support_tool:frontend-latest --no-cache .
|
||||
Write-Host "Push both builds to our gitea server."
|
||||
docker push git.tuffraid.net/cowch/logistics_support_tool:frontend-latest
|
||||
docker push git.tuffraid.net/cowch/logistics_support_tool:backend-latest
|
||||
|
||||
Write-Host "Pull the new images to our docker system"
|
||||
docker compose -f ./docker-compose.yml up -d --force-recreate
|
||||
Reference in New Issue
Block a user