FROM ghcr.io/mlflow/mlflow:latest

# Use --no-cache-dir to avoid storing pip cache in the image
RUN pip install --no-cache-dir \
    psycopg2-binary

ENTRYPOINT [ "mlflow", "server" ]
