We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1804510 commit fd3930eCopy full SHA for fd3930e
docker/run.sh
@@ -16,9 +16,7 @@ select f in "${options[@]}"; do
16
exit
17
fi
18
done
19
-dir=$(dirname $0)
20
-dir=$(readlink -f $dir)
21
-dir=$(dirname $dir)
+dir=$(readlink -f ..)
22
docker rm "php-crud-api_$f" > /dev/null 2>&1
23
docker run -ti -v $dir:/php-crud-api --name "php-crud-api_$f" "php-crud-api:$f" /bin/bash -c '/usr/sbin/docker-run && cd php-crud-api && /bin/bash'
24
0 commit comments