A docker image called powellquiring/docker-playbase can be used to create a docker image for a play application. Just create a Dockerfile that exposes your PLAY_REPOSITORY git repository as an environment variable like the following:
FROM powellquiring/playbase
ENV PLAY_REPOSITORY https://github.com/andgrit/com.andgrit.estimate.git
RUN ./control.sh dist
After the image has been created then run it. Something like this:
docker build -t estimate .
docker run -p 80:9000 estimate
Then exercise the application (maybe open the docker host ip address in a browser?)
Be patient while the RUN command for the docker build executes. It takes a while to do the following stuff:
Content type
Image
Digest
sha256:41aa42f6d…
Size
62.8 MB
Last updated
almost 11 years ago
docker pull powellquiring/playbase