Skip to content

Instantly share code, notes, and snippets.

@DanielDaCosta
Created October 14, 2021 16:27
Show Gist options
  • Save DanielDaCosta/54aded2a4671f266fe7f3d2bf751d7d2 to your computer and use it in GitHub Desktop.
Save DanielDaCosta/54aded2a4671f266fe7f3d2bf751d7d2 to your computer and use it in GitHub Desktop.
FROM python:3.8.0
RUN pip install \
mlflow==1.18.0 \
psycopg2 \
boto3 && \
mkdir /mlflow/
EXPOSE 5000
CMD mlflow server \
--host 0.0.0.0 \
--port 5000 \
--default-artifact-root ${BUCKET} \
--backend-store-uri postgresql://${USERNAME}:${PASSWORD}@${HOST}:${PORT}/${DATABASE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment