FROM python:3.9-slim WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application files COPY app.py . COPY recipe_processor.py . COPY product_retriever_improved.py . # Expose the port EXPOSE 7860 # Start the application CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]