From 6acb37213549ab984550358bb815efda98380888 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Tue, 3 Dec 2024 11:37:35 -0500 Subject: [PATCH] script to build web image --- build_web.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 build_web.sh diff --git a/build_web.sh b/build_web.sh new file mode 100755 index 0000000..cd3af8f --- /dev/null +++ b/build_web.sh @@ -0,0 +1,6 @@ +docker build --platform linux/amd64 --build-arg CLIENT='me' \ + --build-arg API_URL=$1'-aeqt.cme.openhbx.org' \ + --build-arg PATH='/app/node_modules/.bin' \ + -f .docker/production/Dockerfile.web -t $2:me-aeqt-web-$1 . +sleep 10 +docker push $2:me-aeqt-web-$1