mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 14:39:48 -06:00
15 lines
345 B
Bash
Executable File
15 lines
345 B
Bash
Executable File
#!/bin/bash
|
|
SERVICE=${1:-ci}
|
|
|
|
set e+x
|
|
|
|
echo "This script should be run from cypress's root"
|
|
|
|
docker compose build ${SERVICE}
|
|
|
|
echo "Starting Docker compose service, $SERVICE, with cypress volume attached"
|
|
echo "You should be able to edit files locally"
|
|
echo "but execute the code in the container"
|
|
|
|
docker compose run --service-ports ${SERVICE}
|