- Add Dockerfile with ARM64-native emscripten/emsdk:4.0.2-arm64 image - Add docker-compose.yml with resource limits (10 CPUs, 16GB RAM) - Add helper scripts (build.sh, shell.sh, entrypoint.sh) - Add Docker README with usage instructions - Update playwright.config.ts to find free port dynamically - Add .dockerignore and .gitignore entries for build artifacts The Docker environment provides reproducible builds with: - Named volume for build cache (faster I/O on macOS) - Resource limits to prevent system lockups - Interactive shell access for debugging 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
8 lines
135 B
Shell
Executable file
8 lines
135 B
Shell
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
# Source Emscripten environment
|
|
source /emsdk/emsdk_env.sh 2>/dev/null
|
|
|
|
# Execute command or start shell
|
|
exec "$@"
|