Skip to content

Commit

Permalink
Add Dockerfile, but need to check first
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostzali committed Apr 26, 2017
1 parent 877b18f commit be09bfa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM lwieske/java-8:server-jre-8u121-slim

ENV PROD_VERSION 1.0

VOLUME $HOME/.log
VOLUME $HOME/.lucene

ADD productions/$PROD_VERSION/area-indonesia-$PROD_VERSION.jar app.jar

EXPOSE 8080

CMD ["java", "-jar", "/app.jar"]

0 comments on commit be09bfa

Please sign in to comment.