Add Dockerfile and build script for the jpaserver-example.

This commit is contained in:
Gijsbert van den Brink 2016-11-18 11:00:35 +01:00
parent 6314f5efb3
commit 9d8225cbec
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
FROM jetty:9-jre8-alpine
USER jetty:jetty
ADD ./target/hapi-fhir-jpaserver-example.war /var/lib/jetty/webapps/root.war
EXPOSE 8080

View File

@ -0,0 +1,5 @@
#!/bin/sh
mvn package && \
docker build -t hapi-fhir/hapi-fhir-jpaserver-example .