dev/prodpush scripts

This commit is contained in:
nicole committed 2023-02-27 17:07:29 -08:00
1 parent 55525a5235
commit e209bdda01
2 files changed
+15

No files matched your search

+10
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
+5
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