Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -8,13 +8,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Copy requirements first for better caching
|
| 11 |
-
COPY
|
| 12 |
|
| 13 |
# Install Python dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# Copy application files
|
| 17 |
-
COPY
|
| 18 |
COPY templates/ templates/
|
| 19 |
|
| 20 |
# Expose port
|
|
|
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Copy requirements first for better caching
|
| 11 |
+
COPY requirements.txt .
|
| 12 |
|
| 13 |
# Install Python dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# Copy application files
|
| 17 |
+
COPY app.py .
|
| 18 |
COPY templates/ templates/
|
| 19 |
|
| 20 |
# Expose port
|