Skip to content

Commit

Permalink
Fix path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mithandir committed Sep 19, 2024
1 parent 88531bb commit 15e1aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ RUN addgroup -S newsfeed && adduser -S newsfeed -G newsfeed
USER newsfeed

ARG DEPENDENCY=/opt/src/newsfeed
COPY --from=builder ${DEPENDENCY}/*.jar app.jar
COPY --from=builder ${DEPENDENCY}/*.jar /opt/app.jar

ENTRYPOINT ["java","--enable-preview", "-jar", "app.jar"]
ENTRYPOINT ["java","--enable-preview", "-jar", "/opt/app.jar"]

0 comments on commit 15e1aaa

Please sign in to comment.