Skip to content

Commit

Permalink
fix: Update Docker multi-stage file
Browse files Browse the repository at this point in the history
  • Loading branch information
ImKunYoung committed Sep 15, 2023
1 parent 9cd948a commit ff73286
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multistage.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ FROM openjdk:17-alpine
VOLUME /tmp
ARG JAR_FILE=/app/build/libs/*.jar
COPY --from=builder ${JAR_FILE} app.jar
EXPOSE 8080
EXPOSE 8080
ENTRYPOINT ["java","-jar", "app.jar"]

0 comments on commit ff73286

Please sign in to comment.