Skip to content

Commit

Permalink
chore: dockerfile profile 변수화
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-byeol committed Jan 3, 2025
1 parent 8ac539f commit 2247324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM openjdk:17-jdk

ARG JAR_FILE=./build/libs/ody-backend-0.0.1-SNAPSHOT.jar

ENV SPRING_PROFILES_ACTIVE=prod
# dev로 변경
ENV SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE}

ENV JASYPT_ENCRYPTOR_PASSWORD=${JASYPT_ENCRYPTOR_PASSWORD}

COPY ${JAR_FILE} ody-backend.jar
Expand Down

0 comments on commit 2247324

Please sign in to comment.