all: up build: sudo docker network create --subnet=172.20.30.0/24 wordpress sudo mkdir ./build ~/data sudo curl -f https://wordpress.org/latest.tar.gz --output ~/data/latest.tar.gz sudo tar -xvf ~/data/latest.tar.gz sudo mv wordpress ~/data/wordpress sudo cp srcs/requirements/wordpress/srcs/wordpress.conf ~/data/wordpress/wp-config.php sudo chown -R root:root ~/data/wordpress up: build sudo docker-compose -f ./srcs/docker-compose.yml up -d down: sudo docker-compose -f ./srcs/docker-compose.yml down clean: down yes | sudo docker system prune -a sudo rm -rf ~/data ./build