Este commit está contenido en:
2019-05-20 00:21:02 +02:00
padre fa6ffd4225
commit b783830058
Se han modificado 2 ficheros con 10 adiciones y 0 borrados

4
Dockerfile Archivo normal
Ver fichero

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

Ver fichero

@@ -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
```