Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandrMasliaev authored Nov 28, 2024
1 parent a56171e commit 9a539e5
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 @@ -6,5 +6,5 @@ RUN gradle clean build

FROM openjdk as backend
WORKDIR /root
COPY --from=builder /project/build/libs/*-all.jar ./app
ENTRYPOINT ["java", "-jar", "/root/app"]
COPY --from=builder /project/build/libs/*.jar ./app.jar
ENTRYPOINT ["java", "-jar", "/root/app.jar"]

0 comments on commit 9a539e5

Please # to comment.