Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into main
  • Loading branch information
Conor Flynn committed Nov 6, 2022
2 parents ae57242 + 4248f85 commit ef86ef4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DeFi-Data-Engine/DeFi Data Engine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM maven:3.8.6-eclipse-temurin-17
COPY ./ ./
RUN mvn clean compile assembly:single -Dmaven.skip.test=true
CMD ["java", "-jar", "target/defi-data-engine-0.0.1-jar-with-dependencies.jar"]
9 changes: 9 additions & 0 deletions DeFi-Data-Engine/Rest Application/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM maven:3.8.6-eclipse-temurin-17

COPY ./ ./

# package our application code
RUN mvn clean package -Dmaven.test.skip
EXPOSE 8080
# set the startup command to execute the jar
CMD ["java", "-jar", "target/rest-connection-4.3.3.jar"]

0 comments on commit ef86ef4

Please sign in to comment.