From 06b0b6e0d7136661ad89f90f9e6607e9b8c14c16 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sun, 29 Dec 2024 17:01:53 +0800 Subject: [PATCH] update --- rxr_mc/docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rxr_mc/docker-compose.yaml b/rxr_mc/docker-compose.yaml index f751f56..ed9059d 100644 --- a/rxr_mc/docker-compose.yaml +++ b/rxr_mc/docker-compose.yaml @@ -1,6 +1,6 @@ services: minecraft: - image: chainguard/jre:latest + image: openjdk:25-jdk-bookworm # 使用 JRE 版本的镜像 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