This commit is contained in:
2024-05-12 23:55:42 -04:00
parent 381bd9eeff
commit a05eaa5211
5 changed files with 55 additions and 4 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
CONTAINER = minecraft-minecraft-1
.PHONY: default build clean install
default: build
build:
docker compose build
clean:
rm screenlog.0
docker compose down --rmi all
docker builder prune -f
install: build
touch screenlog.0
docker compose up -d
sleep 2
docker logs -f $(CONTAINER)