Skip to content

Commit

Permalink
추가: firebase-service-key 관리
Browse files Browse the repository at this point in the history
  • Loading branch information
rrosiee committed May 30, 2024
1 parent e743908 commit 8b670c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
FROM openjdk:11

# JAR 파일을 컨테이너로 복사
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

# firebase-service-key.json 파일을 컨테이너로 복사
COPY src/main/resources/firebase-service-key.json /app/resources/firebase-service-key.json

# 애플리케이션 실행
ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit 8b670c5

Please sign in to comment.