all: up build: sudo docker network create --subnet=172.20.30.0/24 wordpress sudo mkdir ./build /home/djonker/data sudo curl -f https://wordpress.org/latest.tar.gz --output /home/djonker/data/latest.tar.gz sudo tar -xvf /home/djonker/data/latest.tar.gz sudo mv wordpress /home/djonker/data/wordpress sudo cp srcs/requirements/wordpress/srcs/wordpress.conf /home/djonker/data/wordpress/wp-config.php sudo chown -R root:root /home/djonker/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 /home/djonker/data ./build