fix: Makefile now export the user args to connect.
This commit is contained in:
parent
a9ea4f44e0
commit
8cf0eeca2e
2
Makefile
2
Makefile
@ -8,10 +8,12 @@ build: dev
|
||||
|
||||
dev: ${DIR_BACK}/.env
|
||||
cd ${DIR_SQL} && make && cd -
|
||||
export $(grep -v '^#' back-end/.env.production | xargs)
|
||||
(. ${DIR_BACK}/.env && ${DOCKER_COMPOSE} -f docker-compose.dev.yml up) || true
|
||||
|
||||
prod:
|
||||
cd ${DIR_SQL} && make && cd -
|
||||
export $(grep -v '^#' back-end/.env.production | xargs)
|
||||
(. ${DIR_BACK}/.env.production && ${DOCKER_COMPOSE} -f docker-compose.prod.yml up) || true
|
||||
|
||||
$(DIR_BACK)/.env: ${DIR_BACK}/.env.example
|
||||
|
Loading…
x
Reference in New Issue
Block a user