Projet 42: Sujet: Conteneuriser un serveur wordpress à l'aide de docker, alpine/debian, nginx et mariadb
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
378 B

NAME = inception
all: prune reload
domain:
echo "127.0.0.1 narnaud.42.fr" >> /etc/hosts
start:
BUILDKIT_PROGRESS=plain docker compose -f srcs/docker-compose.yml up --build
stop:
docker compose -f srcs/docker-compose.yml down
prune: stop
docker system prune -f
fclean: prune
rm -rf /home/narnaud/data
re: fclean start
.PHONY: domain start stop fclean prune all