Move Docker scripts (#138)

Just reorganizing
This commit is contained in:
Cecile Tonglet
2020-07-16 07:46:03 +02:00
committed by GitHub
parent e40bef8641
commit 537a311587
10 changed files with 5 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# helper function to run docker-compose using the docker/docker-compose.yml file while
# retaining a context from the root of the repository
set -e
dc () {
cd "$(cd "$(dirname "$0")" && git rev-parse --show-toplevel)"
docker-compose -f - "$@" < docker/docker-compose.yml
}