Spaces:
Sleeping
Sleeping
Durand D'souza
commited on
Changing UV cache folder
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -18,6 +18,8 @@ ADD . /app
|
|
| 18 |
# Sync the project into a new environment, using the frozen lockfile
|
| 19 |
WORKDIR /app
|
| 20 |
|
|
|
|
|
|
|
| 21 |
RUN uv sync --frozen
|
| 22 |
|
| 23 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
|
|
|
| 18 |
# Sync the project into a new environment, using the frozen lockfile
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
+
ENV UV_CACHE_DIR=/opt/uv-cache/
|
| 22 |
+
|
| 23 |
RUN uv sync --frozen
|
| 24 |
|
| 25 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|