diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2baec66 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM openjdk:8 + +RUN apt-get update && apt-get -y install maven git + +WORKDIR /lode + +EXPOSE 8080 8443 + +ENTRYPOINT ["mvn", "jetty:run"] diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..51c5b43 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,15 @@ +--- +version: '2' + +services: + + lode: + build: + context: ./ + dockerfile: Dockerfile + container_name: pdnd-ontopia-lode + image: teamdigitale/pdnd-ontopia-lode + stdin_open: true + tty: true + ports: + - 8080:8080/tcp