FROM python:3.11 WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt RUN python -c "from transformers import PegasusForConditionalGeneration; PegasusForConditionalGeneration.from_pretrained('TheMarvellousOne/pegasus-meeting-summarizer', subfolder='pegasus_mixed_finetuned')" COPY . . EXPOSE 7860 CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]