Spaces:
Sleeping
Sleeping
Fix Space config: correct README frontmatter and Dockerfile paths
Browse files- Dockerfile +2 -6
- README.md +5 -3
Dockerfile
CHANGED
|
@@ -2,17 +2,13 @@
|
|
| 2 |
FROM python:3.11-slim
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
-
WORKDIR /
|
| 6 |
-
|
| 7 |
-
# Set environment variables
|
| 8 |
-
ENV PORT=7860
|
| 9 |
|
| 10 |
# Copy requirements first for better caching
|
| 11 |
COPY requirements.txt .
|
| 12 |
|
| 13 |
# Install only essential packages for now
|
| 14 |
-
RUN pip install --no-cache-dir
|
| 15 |
-
pip install --no-cache-dir fastapi uvicorn pydantic python-multipart pillow
|
| 16 |
|
| 17 |
# Copy the rest of the application
|
| 18 |
COPY . .
|
|
|
|
| 2 |
FROM python:3.11-slim
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
+
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Copy requirements first for better caching
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
| 10 |
# Install only essential packages for now
|
| 11 |
+
RUN pip install --no-cache-dir fastapi==0.115.5 uvicorn==0.32.1 pydantic==2.10.2 python-multipart==0.0.12
|
|
|
|
| 12 |
|
| 13 |
# Copy the rest of the application
|
| 14 |
COPY . .
|
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title: Local Inference
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
# AI Chat & Summarization Web App π€
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Local Inference Hub
|
| 3 |
+
emoji: π€
|
| 4 |
+
colorFrom: purple
|
| 5 |
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
+
license: mit
|
| 9 |
+
app_port: 7860
|
| 10 |
---
|
| 11 |
|
| 12 |
# AI Chat & Summarization Web App π€
|