FROM docker.litellm.ai/berriai/litellm:main-latest

USER root
RUN pip install --no-cache-dir "oci>=2.150.0"

WORKDIR /app
COPY oci_embedding_handler.py /app/oci_embedding_handler.py
COPY config.yaml /app/config.yaml

ENV PYTHONPATH=/app

# Base image entrypoint already launches litellm proxy.
CMD ["--config", "/app/config.yaml", "--port", "4000"]
