git-subtree-dir: seatmap-webapi git-subtree-split: 02d4bf7404b8fcb788502ca45c813946b6c4f5b9
13 lines
223 B
Bash
Executable File
13 lines
223 B
Bash
Executable File
#!/bin/bash
|
|
FILES=*
|
|
|
|
for f in $FILES
|
|
do
|
|
if [[ -d "$f" ]]
|
|
then
|
|
dir=$(readlink -f ..)
|
|
docker rm "php-crud-api_$f" > /dev/null 2>&1
|
|
docker run -ti -v $dir:/php-crud-api --name "php-crud-api_$f" "php-crud-api:$f"
|
|
fi
|
|
done
|