SandeepChakka's picture
fix: download punkt and punkt_tab at build time to fix NLTK error
fe7a07f
Raw History Blame Contribute Delete
208 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN python -m nltk.downloader punkt punkt_tab
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]