Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

JHipster Dockerfile

This repository contains Dockerfile of JHipster for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull lepnio/jhipster-docker

    (alternatively, you can build an image from Dockerfile: docker build -t="lepnio/jhipster-docker" github.com/lepnio/jhipster-docker.git)

Generate a JHipster application in the current directory

docker run --rm -it -v $(pwd):/data lepnio/jhipster-docker yo jhipster

Run Maven for the JHipster application of the current directory

docker run -d -p 8080:8080 -v $(pwd):/data lepnio/jhipster-docker mvn spring-boot:run

You can shared your local .m2 folder to prevent maven to download the dependencies every time you run a new container

docker run -d -p 8080:8080 -v $(pwd):/data -v $HOME/.m2:/home/jhipster/.m2 lepnio/jhipster-docker mvn spring-boot:run

Run Grunt for the JHipster application of the current directory

Not working for the moment, because the proxy of browserSync is configured to localhost:8080

Docker Pull Command
Owner
lepnio
Source Repository