pcr12's picture
fix: libglib2.0-0, remove stale curl file, processor passthrough, trim requirements
dad9b62
Raw
History Blame Contribute Delete
282 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y libglib2.0-0 && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]