We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aaf6be commit 460b840Copy full SHA for 460b840
1 file changed
Dockerfile
@@ -11,7 +11,10 @@ RUN apt-get update && apt-get install -y \
11
# pyproject.toml 복사 및 의존성 설치
12
COPY pyproject.toml .
13
RUN pip install --no-cache-dir --upgrade pip && \
14
- pip install --no-cache-dir .
+ pip install --no-cache-dir torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu
15
+
16
+# 3. 나머지 종속성 설치 (이때 pyproject.toml의 torch는 이미 설치되어 패스됨)
17
+RUN pip install --no-cache-dir .
18
19
# 애플리케이션 코드 복사
20
COPY . .
0 commit comments