mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-18 02:32:27 +00:00
11 lines
328 B
Bash
Executable File
11 lines
328 B
Bash
Executable File
#!/bin/sh
|
|
if [ -n "$USE_DOCKER" ]; then
|
|
set -ex
|
|
yarn build
|
|
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
|
|
exec yarn dev
|
|
fi
|