42_Inception/Makefile

17 lines
427 B
Makefile

all: up
run:
@mkdir -p /home/cchauvet/data/wp-files
@mkdir -p /home/cchauvet/data/wp-db
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`
-docker builder prune --all --force
rm -rf /home/cchauvet/data/wp-files /home/cchauvet/data/wp-db
up: run