build: fix build-stage env. var. reading

This commit is contained in:
ae 2025-05-05 10:17:04 +03:00
parent 81bb6fed27
commit dba81d65cb
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E

View File

@ -66,6 +66,9 @@ fi
if [ "$RUN_FULLSTACK" = true ]
then
echo "[+] running in fullstack mode"
cp .env web/.env # read during the build-stage -> .env can't be defined in docker-compose.yml
docker compose stop qnote-server qnote-web
docker compose rm -f qnote-server qnote-web
docker compose --env-file .env -f "$FULL_COMPOSE_FILE" build