Skip to content

Commit

Permalink
[hotfix] dockerfile, workflow 변경 (#92)
Browse files Browse the repository at this point in the history
* chore: 환경변수 추가

* chore: Jar File 변수명 변경
  • Loading branch information
kpeel5839 authored Jun 15, 2024
1 parent dda5de5 commit eac9b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conceptbe-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ jobs:
docker stop backend
docker rm backend
docker pull pjhg410/conceptbe
docker run -d -p 8080:8080 --name backend -e RDS_URL=${{ secrets.RDS_URL }} -e RDS_USERNAME=${{ secrets.RDS_USERNAME }} -e RDS_PASSWORD=${{ secrets.RDS_PASSWORD }} -e KAKAO_CLIENT_ID=${{ secrets.KAKAO_CLIENT_ID }} -e KAKAO_REDIRECT_URI=${{ secrets.KAKAO_REDIRECT_URI }} -e KAKAO_CLIENT_SECRET=${{ secrets.KAKAO_CLIENT_SECRET }} -e KAKAO_SCOPE=${{ secrets.KAKAO_SCOPE }} -e NAVER_CLIENT_ID=${{ secrets.NAVER_CLIENT_ID }} -e NAVER_REDIRECT_URI=${{ secrets.NAVER_REDIRECT_URI }} -e NAVER_CLIENT_SECRET=${{ secrets.NAVER_CLIENT_SECRET }} -e NAVER_SCOPE=${{ secrets.NAVER_SCOPE }} -e JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }} -e JWT_ACCESS_TOKEN_EXPIRATION_TIME=${{ secrets.JWT_ACCESS_TOKEN_EXPIRATION_TIME }} pjhg410/conceptbe
docker run -d -p 8080:8080 --name backend -e BUCKET=${{ secrets.BUCKET }} -e CLOUD_FRONT_URL=${{ secrets.CLOUD_FRONT_URL }} -e RDS_URL=${{ secrets.RDS_URL }} -e RDS_USERNAME=${{ secrets.RDS_USERNAME }} -e RDS_PASSWORD=${{ secrets.RDS_PASSWORD }} -e KAKAO_CLIENT_ID=${{ secrets.KAKAO_CLIENT_ID }} -e KAKAO_REDIRECT_URI=${{ secrets.KAKAO_REDIRECT_URI }} -e KAKAO_CLIENT_SECRET=${{ secrets.KAKAO_CLIENT_SECRET }} -e KAKAO_SCOPE=${{ secrets.KAKAO_SCOPE }} -e NAVER_CLIENT_ID=${{ secrets.NAVER_CLIENT_ID }} -e NAVER_REDIRECT_URI=${{ secrets.NAVER_REDIRECT_URI }} -e NAVER_CLIENT_SECRET=${{ secrets.NAVER_CLIENT_SECRET }} -e NAVER_SCOPE=${{ secrets.NAVER_SCOPE }} -e JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }} -e JWT_ACCESS_TOKEN_EXPIRATION_TIME=${{ secrets.JWT_ACCESS_TOKEN_EXPIRATION_TIME }} pjhg410/conceptbe
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17-jdk-slim
ARG JAR_FILE=./build/libs/conceptbe-0.0.1-SNAPSHOT.jar
ARG JAR_FILE=./build/libs/conceptbe.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit eac9b0c

Please sign in to comment.