Created
August 25, 2017 21:45
-
-
Save gianluca-nitti/57f8dd8e52318c539376358b5e01d6af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN apt-get update && apt-get install -y openjdk-8-jre wget unzip | |
COPY ./Terasology/facades/Server/build/distributions/Server-1.0.0-SNAPSHOT.zip /archive.zip | |
COPY ./Terasology/natives /terasology/natives | |
RUN mkdir -p /terasology \ | |
&& unzip /archive.zip -d /terasology \ | |
&& rm -f /archive.zip | |
ENTRYPOINT /bin/bash /terasology/Server-1.0.0-SNAPSHOT/bin/Server -dontStartDefault -homedir=/terasology/server | |
CMD ["/bin/bash"] | |
VOLUME /terasology/server | |
EXPOSE 25777 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment