dev/prodpush scripts

This commit is contained in:
Nicole O'Connor 2023-02-27 17:07:29 -08:00
parent 55525a5235
commit e209bdda01
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
docker build -t vcs.otl-hga.net/nicole/seagull-game --target app .
docker push vcs.otl-hga.net/nicole/seagull-game
echo "settling dust ..."
sleep 2
aws ecs update-service \
--cluster "arn:aws:ecs:us-west-2:850912941082:cluster/SeagullProd" \
--service seagull-fargate-svc --force-new-deployment

View File

@ -0,0 +1,5 @@
#!/bin/sh
docker build -t localhost/nicole/seagull-game --target dev .
echo "build complete. starting container ..."
docker run --rm -p 80:80 localhost/nicole/seagull-game