Spaces:
Sleeping
Sleeping
feat: Add Chat endpoint and fix Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -9,13 +9,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
# Copy requirements
|
| 12 |
-
COPY
|
| 13 |
|
| 14 |
# Install Python dependencies
|
| 15 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 16 |
|
| 17 |
# Copy application code
|
| 18 |
-
COPY
|
| 19 |
|
| 20 |
# Expose port
|
| 21 |
EXPOSE 7860
|
|
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
# Copy requirements
|
| 12 |
+
COPY requirements.txt .
|
| 13 |
|
| 14 |
# Install Python dependencies
|
| 15 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 16 |
|
| 17 |
# Copy application code
|
| 18 |
+
COPY src/ ./src/
|
| 19 |
|
| 20 |
# Expose port
|
| 21 |
EXPOSE 7860
|