All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m12s
19 lines
390 B
Docker
19 lines
390 B
Docker
FROM alpine:3.19
|
|
|
|
WORKDIR /server
|
|
|
|
COPY server.properties .
|
|
COPY --chmod=755 entrypoint.sh .
|
|
|
|
RUN apk add --no-cache openjdk17-jre wget vim
|
|
|
|
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
|
|
|
|
EXPOSE 25565
|
|
|
|
ENTRYPOINT ["/server/entrypoint.sh"] |