Skip to content

Commit

Permalink
Adding compress flag to docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnjr committed Oct 3, 2023
1 parent 421620c commit 405f631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ cd ..

aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 922147267922.dkr.ecr.us-east-2.amazonaws.com

docker build -f docker/production.Dockerfile -t 922147267922.dkr.ecr.us-east-2.amazonaws.com/website:latest .
docker build --compress -f docker/production.Dockerfile -t 922147267922.dkr.ecr.us-east-2.amazonaws.com/website:latest .

docker push 922147267922.dkr.ecr.us-east-2.amazonaws.com/website:latest

0 comments on commit 405f631

Please sign in to comment.