first commit
All checks were successful
Lint, Build, Scan and Publish Docker Image / build-and-push (push) Successful in 1m4s

This commit is contained in:
2026-02-13 20:13:09 +01:00
commit 83df2b1c62
3 changed files with 75 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM marctv/minecraft-papermc-server
ADD https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/spigot /opt/minecraft/plugins/Geyser.jar
ADD https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/spigot /opt/minecraft/plugins/Floodgate.jar
RUN chown -R 1001:1001 /opt/minecraft
USER 1001
EXPOSE 25565/tcp 25565/udp 19132/udp
ENTRYPOINT ["/opt/minecraft/docker-entrypoint.sh"]
HEALTHCHECK --interval=30s --timeout=5s --start-period=3m CMD nc -z 127.0.0.1 25565 || exit 1