mirror of
https://github.com/luzifer-docker/minecraft.git
synced 2024-12-20 12:11:18 +00:00
15 lines
273 B
Text
15 lines
273 B
Text
|
FROM java:7
|
||
|
|
||
|
ENV VERSION 1.8.8
|
||
|
ENV MEMORY 1024
|
||
|
|
||
|
ADD ./start.sh /start.sh
|
||
|
ADD https://s3.amazonaws.com/Minecraft.Download/versions/${VERSION}/minecraft_server.${VERSION}.jar /minecraft_server.jar
|
||
|
|
||
|
VOLUME /data
|
||
|
EXPOSE 25565
|
||
|
|
||
|
WORKDIR /data
|
||
|
ENTRYPOINT ["/start.sh"]
|
||
|
CMD ["--"]
|