refactoring into single directory and fixing docker
This commit is contained in:
12
build.sh
12
build.sh
@@ -6,10 +6,12 @@ if [ -z "$1" ]; then
|
||||
elif [ "$1" = "-b" ]; then
|
||||
build="--build"
|
||||
echo building
|
||||
elif [ "$1" = "-d" ]; then
|
||||
up="-d"
|
||||
echo daemon
|
||||
elif [ "$1" = "-i" ]; then
|
||||
vaultPath="/home/venus/Documents/Personal-Wiki"
|
||||
echo building
|
||||
fi
|
||||
|
||||
docker compose down
|
||||
docker compose up $up $build
|
||||
#update the .env
|
||||
|
||||
#build public vault
|
||||
docker compose up -d public_vault_builder
|
||||
|
||||
Reference in New Issue
Block a user