Upload Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -11,13 +11,13 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
# Copy requirements first for better caching
|
| 14 |
-
COPY
|
| 15 |
|
| 16 |
# Install Python dependencies
|
| 17 |
-
RUN pip install --no-cache-dir -r
|
| 18 |
|
| 19 |
# Copy application files only (model will be downloaded from HF)
|
| 20 |
-
COPY
|
| 21 |
COPY gunicorn_config.py .
|
| 22 |
|
| 23 |
# Create non-root user
|
|
|
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
# Copy requirements first for better caching
|
| 14 |
+
COPY requirements.txt .
|
| 15 |
|
| 16 |
# Install Python dependencies
|
| 17 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
# Copy application files only (model will be downloaded from HF)
|
| 20 |
+
COPY app.py .
|
| 21 |
COPY gunicorn_config.py .
|
| 22 |
|
| 23 |
# Create non-root user
|