Skip to content

Commit

Permalink
Merge pull request #2 from neuefische/dockerfile
Browse files Browse the repository at this point in the history
Dockerfile
  • Loading branch information
MoinMarcell authored May 21, 2024
2 parents f18a1e9 + a0adaae commit d46cb4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM --platform=linux/amd64 openjdk:21
EXPOSE 8080
ADD backend/target/app.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]
1 change: 1 addition & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
</dependencies>

<build>
<finalName>app</finalName>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
Expand Down

0 comments on commit d46cb4b

Please sign in to comment.