mcdockerimage/Dockerfile

16 lines
204 B
Docker
Raw Permalink Normal View History

2020-09-28 23:32:43 +00:00
FROM java:8
ENV MIN_MEM=512M
2020-10-13 08:10:19 +00:00
ENV MAX_MEM=8G
2020-09-28 23:32:43 +00:00
ENV STOP="stop"
2020-10-13 08:10:19 +00:00
COPY ./bin/main /main
COPY ./bin/cmd /usr/local/bin/cmd
2020-09-28 23:32:43 +00:00
COPY ./entry.sh /entry.sh
EXPOSE 25565
VOLUME [ "/server" ]
2020-10-13 08:10:19 +00:00
ENTRYPOINT [ "/main" ]