From 7b0b04b30a56bbb45ef436df5c920aaf1e8b1d7b Mon Sep 17 00:00:00 2001 From: Nicholas Mucks Date: Sun, 14 Jul 2024 12:29:02 -0700 Subject: [PATCH] use -t --- automation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation.sh b/automation.sh index 510be42fc..00d3c898b 100644 --- a/automation.sh +++ b/automation.sh @@ -7,8 +7,8 @@ docker system prune -af echo "####################################################" echo "Build and run container..." -echo "build . -f spring_image" +echo "build . -t spring_image" echo "docker run -itd --net=assignment2 -p:8080:8080 --name spring-clinic spring_image" -docker build . -f spring_image +docker build . -t spring_image docker run -itd --net=assignment2 -p:8080:8080 --name spring-clinic spring_image