minecraftimage/Dockerfile

16 lines
204 B
Docker
Raw Normal View History

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