Initial commit
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m5s

This commit is contained in:
2025-08-02 20:07:39 +02:00
commit 4df3ee891e
4 changed files with 70 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM debian:bullseye
WORKDIR /server/
COPY . .
RUN apt update && apt install -y wget openjdk-17-jre
RUN wget -O server.jar https://github.com/Better-than-Adventure/bta-download-repo/releases/download/v7.3_04/bta.v7.3_04.server.jar
VOLUME ["/server/world"]
ENV JAVA_MIN_MEM=1G
ENV JAVA_MAX_MEM=1G
RUN chmod +x /server/entrypoint.sh
EXPOSE 25565
ENTRYPOINT ["/server/entrypoint.sh"]