Update
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m12s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m12s
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,10 +1,11 @@
|
||||
FROM debian:bullseye
|
||||
FROM alpine:3.19
|
||||
|
||||
WORKDIR /server/
|
||||
WORKDIR /server
|
||||
|
||||
COPY . .
|
||||
COPY server.properties .
|
||||
COPY --chmod=755 entrypoint.sh .
|
||||
|
||||
RUN apt update && apt install -y wget openjdk-17-jre
|
||||
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
|
||||
|
||||
@@ -13,8 +14,6 @@ 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"]
|
||||
ENTRYPOINT ["/server/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user