Skip to content

Commit a5e64a3

Browse files
committed
Readme updated for docker usage
1 parent 8fe78d3 commit a5e64a3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,21 @@ This project contains a server for creating and managing annotations based on th
77
the complete Web Annotation Protocol (WAP). The service is realized as microservice using Spring Boot and can be operated standalone.
88

99

10-
## How to build
10+
## How to build and use
11+
12+
### Docker
13+
14+
```
15+
docker build -f docker/Dockerfile -t wap-server .
16+
```
17+
18+
To run the application at `http://localhost:<host port>`, use:
19+
20+
```
21+
docker run -d -p <host port>:8080 -e WAPBASEPATH=http://localhost:<host port> wap-server
22+
```
23+
24+
### From source
1125

1226
To install the application from source, see [howtos](howtos/summary.md).
1327

0 commit comments

Comments
 (0)