8 lines
359 B
Bash
8 lines
359 B
Bash
|
|
#!/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"
|