try to add a debug feature
This commit is contained in:
8
Makefile
8
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user