mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-11-18 02:05:12 +00:00
Fixed typo in docker command
Added a note to also run "mvn package" prior to the docker build
This commit is contained in:
parent
9e7679508e
commit
6c06d1f88e
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user