Add TARGETBUILD to single image build script

This commit is contained in:
Christos Alexiou 2024-01-24 12:24:48 +02:00
parent 164543acae
commit 50e8d53ebf
1 changed files with 1 additions and 1 deletions

View File

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