cant get stdin to work the way i want, so we're just gonna jankify it with a run script lmfao

This commit is contained in:
Michael 2023-02-14 01:59:05 +00:00
parent 825a49bdac
commit b5d7476803
2 changed files with 6 additions and 3 deletions

View File

@ -6,12 +6,12 @@ services:
build: .
volumes:
- "./data:/minecraft/worlds"
- "/dev/null:/minecraft/server.jar"
- "/dev/null:/minecraft/eula.txt"
- "./data:/minecraft"
ports:
- "25565:25565"
stdin_open: true
tty: true
restart: always

3
run.sh Executable file
View File

@ -0,0 +1,3 @@
#! /bin/sh
docker compose up -d
docker attach opsig_minecraft