/jsftapp

Maven / Docker wrapper to help bootstap a containerized JSFT project.

Primary LanguageDockerfileApache License 2.0Apache-2.0

Maven / Docker wrapper to help bootstap a containerized JSFT project.

To use this project, you will need to checkout subprojects for the actual content and update the Dockerfile to match. By default, it expects 3 sub-projects:

  • app -- A directory containing a webapp folder for the root of a webapp, and normal java project that produces a target: target/app.jar. The webapp must copy in all dependencies, including resources/ and WEB-INF/lib/ files.
  • jsft -- Checkout via: git clone git@github.com:kenpaulsen/jsft.git
  • freya -- If you have this primefaces theme, otherwise change to a theme you'd like to use (change Dockerfile as well).

Docker Build

See README-Docker.md for details, but at a high level (for now):

Build

  1. mvn clean install
  2. docker compose down
  3. docker compose build

Run

  1. docker compose up