mcdockerimage/Dockerfile

15 lines
197 B
Docker
Raw Normal View History

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