Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -3,8 +3,9 @@ FROM ghcr.io/astral-sh/uv:debian-slim
|
|
3 |
# Enable bytecode compilation, Copy from the cache instead of linking since it's a mounted volume
|
4 |
ENV UV_COMPILE_BYTECODE=1 \
|
5 |
UV_LINK_MODE=copy \
|
6 |
-
UV_CACHE_DIR=/
|
7 |
-
GRADIO_SERVER_PORT=8080
|
|
|
8 |
|
9 |
WORKDIR /app
|
10 |
|
|
|
3 |
# Enable bytecode compilation, Copy from the cache instead of linking since it's a mounted volume
|
4 |
ENV UV_COMPILE_BYTECODE=1 \
|
5 |
UV_LINK_MODE=copy \
|
6 |
+
UV_CACHE_DIR=/root/.cache/uv \
|
7 |
+
GRADIO_SERVER_PORT=8080 \
|
8 |
+
PATH="/app/.venv/bin:$PATH"
|
9 |
|
10 |
WORKDIR /app
|
11 |
|