From 6f0f70088ea233d4088206c34368cb6c3f4a317c Mon Sep 17 00:00:00 2001 From: austin Date: Sun, 12 May 2024 15:00:56 -0400 Subject: [PATCH] build script update --- build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a8fca3e..435443c 100644 --- a/build.sh +++ b/build.sh @@ -15,7 +15,7 @@ rm -rf $SERVER_DIR/src/main/resources/static mkdir $SERVER_DIR/src/main/resources/static # assemble FE cd $FE_DIR -npx webpack --env apiurl=http://$SERVER_PUBLIC_ADDR +npx webpack --env apiurl=https://$SERVER_PUBLIC_ADDR cd $SERVER_DIR/src/main/resources/static rm -rf ./* cp -r $FE_DIR/dist/* $SERVER_DIR/src/main/resources/static/ @@ -25,6 +25,9 @@ mvn clean package # assemble package cp $SERVER_DIR/target/self-survey.war $CONFIG_DIR/build/ROOT.war cp $CONFIG_DIR/docker-compose.yml $CONFIG_DIR/build/docker-compose.yml +cd $CONFIG_DIR/build +tar -czvf ./build.tar.gz ./docker-compose.yml ./ROOT.war + #instructions echo "COMPLETED!"