budibase/scripts/build-single-image.sh

5 lines
210 B
Bash
Executable File

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