jupiter-faq-bot / Dockerfile
thecoderhere's picture
Create Dockerfile
add75cd verified
raw
history blame
379 Bytes
FROM python:3.9
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Download NLTK data
RUN python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords')"
# Copy all files
COPY . .
# Create data directory if needed
RUN mkdir -p data
# Expose port
EXPOSE 7860
# Run Flask app
CMD ["python", "run.py"]