1
0
Fork 0
mirror of synced 2024-06-14 08:24:48 +12:00

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

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 .