All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m5s
21 lines
390 B
Docker
21 lines
390 B
Docker
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"]
|