42_Inception/Makefile

17 lines
427 B
Makefile
Raw Normal View History

2023-10-04 10:01:11 -04:00
all: up
run:
@mkdir -p /home/cchauvet/data/wp-files
@mkdir -p /home/cchauvet/data/wp-db
2023-10-05 09:45:59 -04:00
docker-compose -f srcs/docker-compose.yml up --build -d
fclean:
-docker rm -f `docker ps -aq`
-docker volume rm -f `docker volume ls -q`
-docker image rm -f `docker image ls -aq`
-docker network rm `docker network ls -q`
2023-10-05 09:45:59 -04:00
-docker builder prune --all --force
rm -rf /home/cchauvet/data/wp-files /home/cchauvet/data/wp-db
2023-10-04 10:01:11 -04:00
2023-10-05 09:45:59 -04:00
up: run