Use build:apps

This commit is contained in:
Adria Navarro 2024-05-28 12:12:19 +02:00
parent 0d8701a4b4
commit eb1b2f18f8
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
yarn build --scope @budibase/server --scope @budibase/worker yarn build:apps
version=$(./scripts/getCurrentVersion.sh) version=$(./scripts/getCurrentVersion.sh)
docker build -f hosting/single/Dockerfile -t budibase:latest --build-arg BUDIBASE_VERSION=$version --build-arg TARGETBUILD=single . docker build -f hosting/single/Dockerfile -t budibase:latest --build-arg BUDIBASE_VERSION=$version --build-arg TARGETBUILD=single .

View File

@ -6,7 +6,7 @@ if [ ! -d "./packages/pro/src" ]; then
exit 1 exit 1
fi fi
yarn build --scope @budibase/server --scope @budibase/worker yarn build:apps
docker-compose -f hosting/docker-compose.build.yaml -f hosting/docker-compose.dev.yaml --env-file hosting/.env up --build --scale proxy-service=0 docker-compose -f hosting/docker-compose.build.yaml -f hosting/docker-compose.dev.yaml --env-file hosting/.env up --build --scale proxy-service=0