Skip to content

Commit

Permalink
fix: dockerfile 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
daeyoung0726 committed Aug 1, 2024
1 parent e726d3b commit bf6be20
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
@@ -1,4 +1,4 @@
FROM openjdk:17 AS builder
FROM openjdk:17-alpine AS builder
COPY gradlew .
COPY gradle gradle
COPY build.gradle .
Expand All @@ -8,7 +8,7 @@ RUN chmod +x ./gradlew
RUN microdnf install findutils
RUN ./gradlew build -x test

FROM openjdk:17
FROM openjdk:17-alpine
RUN mkdir /opt/app
COPY --from=builder build/libs/*.jar /opt/app/spring-boot-application.jar
EXPOSE 8080
Expand Down

0 comments on commit bf6be20

Please sign in to comment.