I updated the basic example that you can find here: http://javaee.ch/2016/02/23/spring-boot-angularjs-2-typescript-hello-world-tutorial/
Now it is compatible with docker. You can download the first version of the dockerfile here:
It’s only a first test and a lot of work is still needed but you can build it:
docker build -t my-java-app .
The source code and the dependencies are downloaded. When the build end you can launch the application:
docker run –rm -it -p 8080:8080 my-java-app java -jar /usr/src/myapp/angular2.jar
You can see the result on localhost:8080
Many people asked how to compile the project in eclipse … well, no need of eclipse or other IDE.
Personally I think that the frontend and backend should be developed in 2 separated projects.