FROM python:3.11-slim WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ git \ && rm -rf /var/lib/apt/lists/* # Install Python dependencies RUN pip install --no-cache-dir \ fastapi \ uvicorn \ httpx \ pydantic \ python-multipart \ pillow # Copy service files COPY . /app # Expose port EXPOSE 8002 # Run service CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8002"]