betterthanadventure/Dockerfile
2024-08-15 18:41:08 +03:00

16 lines
231 B
Docker

FROM amazoncorretto:17-alpine
ENV VERSION=7.2_01
ENV XMX=2G
WORKDIR /srv/bta
RUN apk add curl
COPY bta.sh /srv/bta.sh
RUN cd /srv/bta
EXPOSE 25565/tcp
EXPOSE 25565/udp
VOLUME /srv/bta
ENTRYPOINT sh /srv/bta.sh