dd
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -36,9 +36,13 @@ ENV UV_CACHE_DIR=/app/.cache/uv
|
|
36 |
# Copy project files
|
37 |
COPY . /app
|
38 |
|
|
|
39 |
# Install project dependencies
|
40 |
RUN uv sync
|
41 |
|
|
|
|
|
|
|
42 |
# Hugging Face Spaces expects your app to listen on $PORT
|
43 |
EXPOSE 7860
|
44 |
ENV PORT=7860
|
|
|
36 |
# Copy project files
|
37 |
COPY . /app
|
38 |
|
39 |
+
|
40 |
# Install project dependencies
|
41 |
RUN uv sync
|
42 |
|
43 |
+
# Clear git cache to prevent runtime issues
|
44 |
+
RUN rm -rf /app/.cache/uv/git-v0 || true
|
45 |
+
|
46 |
# Hugging Face Spaces expects your app to listen on $PORT
|
47 |
EXPOSE 7860
|
48 |
ENV PORT=7860
|