From 79d9bbf8d9c50da03a7d913ac787b14c715730fa Mon Sep 17 00:00:00 2001 From: JeongHeumChoi <79458446+JeongHeumChoi@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:37:38 +0900 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0a8be9c..c183076 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,5 @@ RUN ./gradlew clean build -x test FROM openjdk:17-jdk-alpine COPY --from=builder /usr/src/build/libs/puddy-0.0.1-SNAPSHOT.jar /usr/app/app.jar -COPY src/main/resources/application-prod.yml /app/src/main/resources/ +COPY -—from=builder /usr/src/src/main/resources/application-prod.yml /usr/app/resources/ ENTRYPOINT ["java", "-jar", "/usr/app/app.jar", "--spring.profiles.active=prod"]