Spaces:
Sleeping
Sleeping
Shreyas Pulle
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -8,14 +8,14 @@ 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 |
-
RUN pip install --no-cache-dir -r
|
| 13 |
|
| 14 |
# Download NLTK data
|
| 15 |
RUN python -c "import nltk; nltk.download('punkt'); nltk.download('punkt_tab')"
|
| 16 |
|
| 17 |
# Copy application files
|
| 18 |
-
COPY
|
| 19 |
COPY templates/ templates/
|
| 20 |
COPY models/ models/
|
| 21 |
|
|
|
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Copy requirements first for better caching
|
| 11 |
+
COPY requirements.txt .
|
| 12 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
# Download NLTK data
|
| 15 |
RUN python -c "import nltk; nltk.download('punkt'); nltk.download('punkt_tab')"
|
| 16 |
|
| 17 |
# Copy application files
|
| 18 |
+
COPY app.py .
|
| 19 |
COPY templates/ templates/
|
| 20 |
COPY models/ models/
|
| 21 |
|