Fix local docker singleimage build

This commit is contained in:
Adria Navarro 2023-10-20 17:23:16 +02:00
parent 133e475257
commit 6ff11a8299
1 changed files with 2 additions and 1 deletions

View File

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