Distopia22's picture
Updated docker file
bcfe687
raw
history blame
323 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy requirements
COPY requirements.txt .
# Install dependencies (now includes spaCy model)
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Expose port
EXPOSE 7860
# Run
CMD ["python", "src/main.py"]