Skip to content

Commit

Permalink
Merge pull request #25 from LucaPrete/23-add-dockerfile-dockercompose
Browse files Browse the repository at this point in the history
[#23] Add Dockerfile and docker-compose.yaml files
  • Loading branch information
essepuntato authored Sep 7, 2019
2 parents 3ab49f8 + 7c21d90 commit 137d86f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
15 changes: 15 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 137d86f

Please sign in to comment.