Initial commit
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m5s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m5s
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user