Skip to content

Commit 61dc1b7

Browse files
committed
Reduce github hits
1 parent 93d14f6 commit 61dc1b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/run_all.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ for f in $FILES
55
do
66
if [[ -d "$f" ]]
77
then
8+
dir=$(readlink -f ..)
89
docker rm "php-crud-api_$f" > /dev/null 2>&1
9-
docker run -ti --name "php-crud-api_$f" "php-crud-api:$f"
10+
docker run -ti -v $dir:/php-crud-api --name "php-crud-api_$f" "php-crud-api:$f"
1011
fi
1112
done

0 commit comments

Comments
 (0)