Skip to content

Commit

Permalink
πŸš€ fix: Dockerfile λΉŒλ“œ/μ‹€ν–‰ μŠ€ν…Œμ΄μ§€ 뢄리
Browse files Browse the repository at this point in the history
  • Loading branch information
tmddus2 committed Sep 6, 2024
1 parent 3038e50 commit 3753413
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions purithm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
FROM openjdk:17
VOLUME /tmp
# Build Stage
FROM openjdk:17 AS build
WORKDIR /app
COPY /build/libs/*SNAPSHOT.jar app.jar

# Run Stage
FROM openjdk:17-jdk-slim
WORKDIR /app
COPY --from=build /app/app.jar app.jar
VOLUME /tmp
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit 3753413

Please sign in to comment.