1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Merge pull request #12855 from Budibase/feat/add-targetbuild-to-single-image-builds

Add TARGETBUILD to single image build script
This commit is contained in:
Christos Alexiou 2024-01-24 13:15:10 +02:00 committed by GitHub
commit 0bba93b650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 .