inception/Makefile
Danny Houtworm e43c2f854d babysteps
2023-06-25 07:05:00 +00:00

17 lines
327 B
Makefile

all: up
build:
sudo docker network create --subnet=172.20.30.0/24 wordpress
mkdir ./build
up: build
sudo docker-compose -f ./srcs/docker-compose.yml up -d
down:
sudo docker-compose -f ./srcs/docker-compose.yml down
clean: down
sudo docker network rm wordpress
yes | sudo docker system prune -a
rm -rf ~/data ./build