버그 문제 해결( 배포 ㅅ크립트 오류)
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@ FROM eclipse-temurin:17-jdk AS build
|
||||
WORKDIR /app
|
||||
COPY gradlew build.gradle settings.gradle ./
|
||||
COPY gradle gradle
|
||||
RUN chmod +x gradlew && ./gradlew dependencies --no-daemon
|
||||
RUN chmod +x gradlew && sed -i 's/\r$//' gradlew && ./gradlew dependencies -x test --no-daemon
|
||||
COPY src src
|
||||
RUN ./gradlew bootJar --no-daemon
|
||||
RUN ./gradlew bootJar -x test --no-daemon
|
||||
|
||||
FROM eclipse-temurin:17-jre
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user