This commit is contained in:
Zengtudor 2024-12-29 16:57:41 +08:00
parent af687fea78
commit d6b8daaea7

View File

@ -1,6 +1,6 @@
services:
minecraft:
image: ubuntu/jre:17_edge
image: chainguard/jre:latest
container_name: minecraft-server
working_dir: /mc-server
environment:
@ -8,7 +8,7 @@ services:
volumes:
- ${MC_DIR}:/mc-server
command: >
-jar ${JAR_FILE} nogui
java -jar ${JAR_FILE} nogui
ports:
- "25565:25565"
stdin_open: true