Update Dockerfile
Browse files- Dockerfile +0 -10
Dockerfile
CHANGED
|
@@ -24,16 +24,6 @@ RUN pip install --no-cache-dir --upgrade pip
|
|
| 24 |
COPY requirements.txt .
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 26 |
|
| 27 |
-
# ❌ REMOVE the block below — it was overwriting huggingface_hub with an incompatible version
|
| 28 |
-
# RUN pip install --no-cache-dir \
|
| 29 |
-
# "huggingface-hub>=0.30" \
|
| 30 |
-
# "hf-transfer>=0.1.4" \
|
| 31 |
-
# uvicorn \
|
| 32 |
-
# websockets \
|
| 33 |
-
# spaces
|
| 34 |
-
|
| 35 |
-
RUN pip install --no-cache-dir uvicorn websockets spaces
|
| 36 |
-
|
| 37 |
COPY --chown=user:user . /app
|
| 38 |
|
| 39 |
USER user
|
|
|
|
| 24 |
COPY requirements.txt .
|
| 25 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
COPY --chown=user:user . /app
|
| 28 |
|
| 29 |
USER user
|