refactor: moved from yml to env

This commit is contained in:
prafull-opensignlabs
2024-08-05 21:16:13 +05:30
parent 2dcb35a34c
commit d6330060dc
4 changed files with 9 additions and 19 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
build:
@echo "Building with HOST=${HOST}"
@echo "Building with HOST_URL=${HOST_URL}"
cp .env.local_dev .env
cd apps/OpenSign && cp ../../.env.local_dev .env && npm install && npm run build
HOST=${HOST} docker compose up --build --force-recreate
HOST_URL=${HOST_URL} docker compose up --build --force-recreate
run:
@echo "Building with HOST=${HOST}"
@echo "Building with HOST_URL=${HOST_URL}"
cp .env.local_dev .env
docker compose up -d