mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-11-17 01:35:13 +00:00
commit
b1dbb8f0cd
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM maven:3-jdk-8
|
||||
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
CMD ["mvn", "jetty:run"]
|
13
README.md
13
README.md
@ -32,6 +32,19 @@ You can specify the port at which it runs:
|
||||
mvn jetty:run -Djetty.port=9999"
|
||||
```
|
||||
|
||||
How to run the server with Docker
|
||||
=================================
|
||||
|
||||
```
|
||||
docker build -t plantuml-server .
|
||||
docker run -d -p 8080:8080 plantuml-server
|
||||
```
|
||||
|
||||
The server is now listing to [http://localhost:8080/plantuml](http://localhost:8080/plantuml).
|
||||
|
||||
You may specity the port in `-p` Docker command line argument.
|
||||
|
||||
|
||||
How to generate the war
|
||||
=======================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user