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