FROM ghcr.io/mlflow/mlflow:latest

# Set a labels for traceability
LABEL build-date="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
    maintainer="Brian Jensen"

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

ENTRYPOINT [ "mlflow", "server" ]
