Spaces:
Sleeping
Sleeping
Commit
·
6cde1a3
1
Parent(s):
d66f2a5
dd
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -6,7 +6,7 @@ COPY requirements.txt .
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
COPY . .
|
9 |
-
|
10 |
ENV HUGGINGFACE_HUB_CACHE=/app/.cache
|
11 |
|
12 |
# Comando para ejecutar el servidor Uvicorn con FastAPI
|
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
8 |
COPY . .
|
9 |
+
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
10 |
ENV HUGGINGFACE_HUB_CACHE=/app/.cache
|
11 |
|
12 |
# Comando para ejecutar el servidor Uvicorn con FastAPI
|