Files
element-call/scripts/playwright-webserver-command.sh
T

11 lines
335 B
Bash
Raw Permalink Normal View History

2025-06-06 12:04:57 -04:00
#!/bin/sh
if [ -n "$USE_DOCKER" ]; then
set -ex
2026-04-17 11:07:31 +02:00
pnpm build
2025-06-06 12:04:57 -04:00
docker build -t element-call:testing .
exec docker run --rm --name element-call-testing -p 8080:8080 -v ./config/config.devenv.json:/app/config.json:ro,Z element-call:testing
else
cp config/config.devenv.json public/config.json
2026-04-17 23:03:17 +02:00
exec pnpm dev --host
2025-06-06 12:04:57 -04:00
fi