All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6s
18 lines
246 B
Docker
18 lines
246 B
Docker
FROM alpine:3.19
|
|
|
|
WORKDIR /server
|
|
|
|
COPY server/ .
|
|
|
|
RUN apk add --no-cache openjdk17-jre vim
|
|
|
|
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"] |