1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00
budibase/scripts/devDocker.sh
2024-05-21 18:14:04 +01:00

13 lines
418 B
Bash
Executable file

#!/bin/bash
# Check if the pro submodule is loaded
if [ ! -d "./packages/pro/src" ]; then
echo "[ERROR] Submodule is not loaded. This is only allowed with loaded submodules."
exit 1
fi
yarn build --scope @budibase/server --scope @budibase/worker
DOCKER_BUILDKIT=1 docker compose -f hosting/docker-compose.build.yaml -f hosting/docker-compose.dev.yaml --env-file hosting/.env up --build --scale proxy-service=0