/playTest

Primary LanguageJavaScript

Play Test

Setting up React in a Play! Framework. Would like to get WebPack, node and various packages working with Play.

Setup

Build the Dev Image

docker build -t playtest_dev -f Dockerfile.dev .

Build out the project

docker run -it -p 9000:9000 -v $(pwd)/play/:/root/ playtest_dev build

Note: replace build with ./activator if you are doing development.

Build the Production Image

docker build -t playtest .

Run the Application

docker run -d -p 9000:9000 playtest run