Skip to content

Commit

Permalink
[essepuntato#23] Add Dockerfile and docker-compose.yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaPrete committed Aug 8, 2019
1 parent c8a6bad commit 7c21d90
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 7c21d90

Please sign in to comment.