Sign inSign up

ingensi/play-framework

By ingensi

•Updated almost 11 years ago

Providing typesafe activator, designed to launch play applications (multiple versions)

Image
61

100K+

ingensi/play-framework repository overview

play

⁠play-framework

Docker image which provides a typesafe activator 1.3.2, designed to launch play applications (v2.3+).

  • Activator: 1.3.2
  • Play version: 2.3.8
  • Java: Oracle-jdk-8u45
  • OS: CentOS-7

⁠Run your app

Your play app has to be mounted in the container in the /app directory. Should you want to publish your app port to the host, you must use the -p argument.

Here is an example of a docker run command:

docker run -d \
  -v /path/to/your/play/app:/app:rw \
  -p 80:9000 \
  ingensi/play-framework

In some cases, you'll need to run play with the current user:

docker run -d \
  -v /path/to/your/play/app:/app:rw \
  -p 80:9000 \
  -u $(id -u)
  ingensi/play-framework

You can also package your app, in order to do that, create a Dockerfile like it:

FROM ingensi/play-framework:latest
MAINTERNER <[email protected]>

ADD /path/to/my/play-src /app

⁠Image inheritance

This docker image inherits from the ingeni/oracle-jdk⁠ image. It includes an oracle jdk install in its latest version.

Tag summary

Content type

Image

Digest

sha256:8ec4313e7…

Size

1.2 GB

Last updated

over 11 years ago

docker pull ingensi/play-framework