Merge pull request #2205 from SkynetLabs/ivo/fix_dc

Fix the path at which `dc` looks for `.env`.
This commit is contained in:
Karol Wypchło 2022-08-16 10:24:25 +02:00 committed by GitHub
commit 36f37e9be8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
dc
View File

@ -11,7 +11,7 @@
cwd="$(dirname -- "$0";)";
# get portal modules configuration from .env file (if defined more than once, the last one is used)
PORTAL_MODULES=$(grep -e "^PORTAL_MODULES=" ${cwd}.env | tail -1 | sed "s/PORTAL_MODULES=//")
PORTAL_MODULES=$(grep -e "^PORTAL_MODULES=" ${cwd}/.env | tail -1 | sed "s/PORTAL_MODULES=//")
# include base docker compose file
COMPOSE_FILES="-f ${cwd}/docker-compose.yml"