diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e0a1706..77d90c2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,4 +26,7 @@ jobs: echo "$APPLICATION_PROPERTIES" > src/main/resources/application.properties ./gradlew clean build sudo fuser -k -n tcp 8080 || true - nohup java -jar build/libs/*SNAPSHOT.jar > ./output.log 2>&1 & \ No newline at end of file + # 도커로 빌드한 이미지를 실행 + docker compose -f compose-prod.yml up --build -d + # 백그라운드로 서버 실행 + # nohup java -jar build/libs/*SNAPSHOT.jar > ./output.log 2>&1 &