Skip to content

Commit

Permalink
Fix: ARG, ENV 세팅 변경 #46
Browse files Browse the repository at this point in the history
  • Loading branch information
5jisoo committed Sep 30, 2024
1 parent da72680 commit bc2b9ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM openjdk:17-jdk
WORKDIR /app
COPY build/libs/*.jar app.jar
EXPOSE 3000
ENV SPRING_PROFILES_ACTIVE=DEV
ARG SPRING_PROFILES_ACTIVE
ENV SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-DEV}

CMD java -jar -Duser.timezone=Asia/Seoul app.jar

0 comments on commit bc2b9ec

Please sign in to comment.