LazyBoy2/box/build.sh

8 lines
359 B
Bash
Raw Normal View History

2026-09-14 09:08:35 +00:00
#!/bin/bash
# Stage the canonical helper before building the self-contained Docker image.
set -euo pipefail
box_dir="$(cd -- "$(dirname -- "$0")" && pwd)"
mkdir -p "$box_dir/playwright"
cp "$box_dir/../tools/playwright/package.json" "$box_dir/../tools/playwright/browser_helper.mjs" "$box_dir/playwright/"
docker build -t "${1:-grokboy-box:local}" "$box_dir"