Move Docker scripts (#138)

Just reorganizing
This commit is contained in:
Cecile Tonglet authored and GitHub committed 2020-07-16 07:46:03 +02:00
1 parent e40bef8641
commit 537a311587
10 files changed
+5 -5

No files matched your search

+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
}