Skip to content

Commit e9c896e

Browse files
committed
[fix] requirements.txt 버전 변경 DockerFile pip 호출 코드 수정
1 parent b519d72 commit e9c896e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ WORKDIR /app
1616
# 3. 의존성만 먼저 복사 → 캐시 최대 활용
1717
COPY everTale/requirements.txt ./requirements.txt
1818
RUN pip install --no-cache-dir --upgrade pip \
19-
&& pip install --no-cache-dir -r /app/requirements.txt \
20-
&& pip install --no-cache-dir opencv-python-headless ultralytics
19+
&& pip install --no-cache-dir -r /app/requirements.txt opencv-python-headless ultralytics
20+
2121

2222
# 모델 파일을 이미지에 포함
2323
COPY models/my_yolo_model.pt /models/my_yolo_model.pt

everTale/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tokenizers==0.19.1
1414
# --- API / 서버 ---
1515
fastapi==0.115.6 # (너가 쓰는 0.115.x 라인 유지, 너무 최신 patch는 피함)
1616
uvicorn==0.30.6 # 안정 버전
17-
starlette==0.38.5 # fastapi 0.115.x와 검증된 조합
17+
starlette
1818

1919
# --- 유틸 ---
2020
numpy==1.26.4 # torch 2.3.x와 널리 쓰이는 안정 버전

0 commit comments

Comments
 (0)