SED EST ENLEVE
This commit is contained in:
2
Makefile
2
Makefile
@@ -2,7 +2,6 @@ DOCKERCOMPOSEPATH=./srcs/docker-compose.yml
|
|||||||
|
|
||||||
#dev allow hot reload.
|
#dev allow hot reload.
|
||||||
dev:
|
dev:
|
||||||
sed -i 's/production/development/g' ./srcs/.env
|
|
||||||
docker compose -f ${DOCKERCOMPOSEPATH} up -d --build
|
docker compose -f ${DOCKERCOMPOSEPATH} up -d --build
|
||||||
@make start
|
@make start
|
||||||
@docker ps
|
@docker ps
|
||||||
@@ -10,7 +9,6 @@ dev:
|
|||||||
|
|
||||||
#prod only the needed files ares presents inside the container
|
#prod only the needed files ares presents inside the container
|
||||||
prod:
|
prod:
|
||||||
sed -i 's/development/production/g' ./srcs/.env
|
|
||||||
docker compose -f ${DOCKERCOMPOSEPATH} up -d --build prod
|
docker compose -f ${DOCKERCOMPOSEPATH} up -d --build prod
|
||||||
@make start_prod
|
@make start_prod
|
||||||
@docker ps
|
@docker ps
|
||||||
|
|||||||
Reference in New Issue
Block a user