This commit is contained in:
manalejandro 2019-05-20 00:21:02 +02:00
parent fa6ffd4225
commit b783830058
2 changed files with 10 additions and 0 deletions

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM openjdk:11-jdk
COPY . /ws
WORKDIR /ws
ENTRYPOINT ["./mvnw", "spring-boot:run", "-f", "pom.xml"]

View File

@ -8,4 +8,10 @@ mvn spring-boot:run -f pom.xml
## Example
```
curl -H "content-type: text/xml" -d @request.xml http://localhost:8080/ws
```
## Docker
```
docker build --rm -t ws .
docker run -ti --rm --name ws --network host ws
```