FROM python:3.13.2-slim-bookworm WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ python3-dev \ && rm -rf /var/lib/apt/lists/* # Copy requirements first to leverage Docker caching COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY app.py . COPY receipt_gen_agent.py . # Create directory for receipt data #RUN mkdir -p new_receipt_data #RUN mkdir -p new_images # Expose the port the app runs on EXPOSE 8000 # Command to run the application CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]