8 lines
359 B
Bash
Executable File
8 lines
359 B
Bash
Executable File
#!/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:-lazyboy-box:local}" "$box_dir"
|