젠킨스 수정
Some checks failed
CI/CD Pipeline / test-backend (push) Has been cancelled
CI/CD Pipeline / test-frontend (push) Has been cancelled
CI/CD Pipeline / build-and-push (push) Has been cancelled

This commit is contained in:
2026-04-02 11:31:01 +09:00
parent 49adc9c405
commit ef2fb75848
2 changed files with 4 additions and 4 deletions

4
Jenkinsfile vendored
View File

@@ -65,7 +65,7 @@ print('All files OK')
echo "=== Building Docker Images ==="
cd ${DEPLOY_DIR}
docker-compose build --no-cache backend mcp-server frontend
docker-compose build backend mcp-server frontend
"""
}
}
@@ -100,7 +100,7 @@ print('All files OK')
steps {
sh """
cd ${DEPLOY_DIR}
docker-compose exec -T backend alembic upgrade head 2>/dev/null || echo "Migration skipped (no pending)"
docker-compose exec -T backend alembic upgrade head || echo "WARNING: Migration failed!"
"""
}
}

View File

@@ -11,11 +11,11 @@ RUN apt-get update && apt-get install -y \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
# Python 의존성 설치
# Python 의존성 설치 (requirements.txt 변경 시에만 재설치 — Docker 캐시 활용)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 애플리케이션 코드 복사
# 애플리케이션 코드 복사 (코드 변경 시에만 이 레이어 갱신)
COPY . .
# 포트 노출