Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
donbonifacio committed Dec 29, 2014
1 parent 97843c0 commit 6a9956d
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 java:7
MAINTAINER donbonifacio

RUN mkdir -p /opt/obb-rules-api
ADD ./target/obb-rules-api.jar /opt/obb-rules-api/obb-rules-api.jar

WORKDIR /opt/obb-rules-api

EXPOSE 3000
ENV APP_ENV production

ENTRYPOINT java -jar obb-rules-api.jar

0 comments on commit 6a9956d

Please sign in to comment.