blog/e2e/start.sh
zhouhongshuo 3be20f90fc chushihua
2024-08-26 00:08:18 +08:00

11 lines
191 B
Bash

#!/bin/bash
file=$1
if [ "$file" == "" ]
then
file=compose.yaml
fi
docker-compose -f "$file" down
docker-compose -f "$file" up --build testing --exit-code-from testing --remove-orphans