try to add a debug feature

This commit is contained in:
batche
2022-10-20 17:46:45 +02:00
parent 316ecb951f
commit 2356680998
16 changed files with 31 additions and 105 deletions

View File

@@ -7,6 +7,11 @@ dev:
@make start_dev
@docker ps
debug:
sed -i 's/production/development/g' ./srcs/.env
docker compose -f ${DOCKERCOMPOSEPATH} up -d --build debug
@make start_debug
@docker ps
#prod only the needed files ares presents inside the container
prod:
@@ -18,6 +23,9 @@ prod:
start_dev:
docker compose -f ${DOCKERCOMPOSEPATH} start dev
start_debug:
docker compose -f ${DOCKERCOMPOSEPATH} start debug
start_prod:
docker compose -f ${DOCKERCOMPOSEPATH} start prod