Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Mar 18, 2018
1 parent 21aca95 commit 757b83e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
@@ -0,0 +1,14 @@
FROM openjdk:8u151-jre

EXPOSE 8081

# RUN apk add --no-cache git
# RUN git clone https://github.com/Zomis/Server2.git

WORKDIR /server2/
ADD games-server/build/libs/*-all.jar /server2/

VOLUME /data/logs/

CMD java -jar games-server-1.0-SNAPSHOT-all.jar

0 comments on commit 757b83e

Please sign in to comment.