Skip to content

Commit

Permalink
Fixing deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Jan 28, 2023
1 parent 51da304 commit 88c7c99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ RUN mvn -f /home/app/pom.xml clean package
FROM openjdk:8-jre-slim
COPY --from=build /home/app/target/backend.jar /usr/local/lib/backend.jar

RUN java --version

EXPOSE 1337
ENTRYPOINT ["java","-jar","/usr/local/lib/backend.jar", "start"]

0 comments on commit 88c7c99

Please sign in to comment.