Spaces:
Sleeping
Sleeping
성현 김
commited on
Commit
·
32d4d25
1
Parent(s):
9508f33
Isolate pip install steps in Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -22,9 +22,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends openjdk-17-jre-
|
|
22 |
|
23 |
# 4. Python 의존성 설치
|
24 |
COPY requirements.txt .
|
25 |
-
RUN pip install --no-cache-dir --upgrade pip
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
which uvicorn && \
|
29 |
echo "PATH is: $PATH" && \
|
30 |
echo "--- End of check ---"
|
|
|
22 |
|
23 |
# 4. Python 의존성 설치
|
24 |
COPY requirements.txt .
|
25 |
+
RUN pip install --no-cache-dir --upgrade pip
|
26 |
+
|
27 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
28 |
+
|
29 |
+
RUN echo "--- Checking uvicorn and PATH ---" && \
|
30 |
which uvicorn && \
|
31 |
echo "PATH is: $PATH" && \
|
32 |
echo "--- End of check ---"
|