Skip to content

Commit

Permalink
Fix application setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Jul 4, 2024
1 parent 598fbe0 commit 2b21285
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ RUN java -Dspring.context.exit=onRefresh -Dspring.profiles.active=training -XX:A
FROM eclipse-temurin:21-jdk-alpine
VOLUME /tmp
WORKDIR /application
COPY --from=builder /application/application/lib ./
COPY --from=builder /application/application/lib ./application/lib
RUN true
COPY --from=builder /application/application/application.jar ./
COPY --from=builder /application/application/application.jar ./application
RUN true
COPY --from=builder /application/application.jsa ./
RUN true
ENTRYPOINT ["java", "-XX:SharedArchiveFile=application.jsa", "-Djava.security.egd=file:/dev/./urandom", "-jar", "application.jar"]
ENTRYPOINT ["java", "-XX:SharedArchiveFile=application.jsa", "-Djava.security.egd=file:/dev/./urandom", "-jar", "application/application.jar"]

0 comments on commit 2b21285

Please sign in to comment.