From 6c06d1f88e8835cc189415553321ccdd044b733d Mon Sep 17 00:00:00 2001 From: Thiyagaraj Krishna Date: Mon, 24 Apr 2017 12:16:12 -0400 Subject: [PATCH] Fixed typo in docker command Added a note to also run "mvn package" prior to the docker build --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03c88c0..962eedd 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,10 @@ Alternate: How to run the server with Tomcat + Docker? Above method uses maven to run the application. That requires internet connectivity. That is undesireable in a corporate environment with firewalls. So, you can use following command to create a self-contained docker image that will "just-work". +*Note: Generate the WAR (instructions further below) prior to running "docker build"* + ``` -docker build -t platuml-server:tomcat8 -f Dockerfile.tomcat8 . +docker build -t plantuml-server:tomcat8 -f Dockerfile.tomcat8 . docker run -d -p 8080:8080 plantuml-server:tomcat8 ``` The server is now listing to [http://localhost:8080/plantuml](http://localhost:8080/plantuml).