Browse Source

Reduce github hits

Maurits van der Schee 5 years ago
parent
commit
61dc1b7d01
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      docker/run_all.sh

+ 2
- 1
docker/run_all.sh View File

@@ -5,7 +5,8 @@ for f in $FILES
5 5
 do
6 6
 if [[ -d "$f" ]]
7 7
 then
8
+  dir=$(readlink -f ..)
8 9
   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"
10 11
 fi
11 12
 done

Loading…
Cancel
Save