Skip to content

Commit

Permalink
Merge pull request #90 from aheritier/docker-compose
Browse files Browse the repository at this point in the history
This PR replaces #84 and add the change proposed by @alexproca cc @eyal-lezmy
  • Loading branch information
nicmarti authored Dec 11, 2017
2 parents 883812b + 8ec99e5 commit ea5843b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ services:
expose:
- 6379
play:
image: alexproca/play:2.2.3
build:
context: .
dockerfile: play.dockerfile
volumes:
- .:/app:rw
ports:
Expand Down
8 changes: 8 additions & 0 deletions play.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM openjdk:8

ENV PLAY_VERSION 2.2.6

RUN wget -q https://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip \
&& unzip -q play-${PLAY_VERSION}.zip \
&& rm play-${PLAY_VERSION}.zip \
&& ln -s /play-${PLAY_VERSION}/play /usr/local/bin/

0 comments on commit ea5843b

Please sign in to comment.