Skip to content

Instantly share code, notes, and snippets.

@deeperunderstanding
Last active June 18, 2019 15:31
Show Gist options
  • Save deeperunderstanding/2a4df20c68290e31d3b30f8ae91e4734 to your computer and use it in GitHub Desktop.
Save deeperunderstanding/2a4df20c68290e31d3b30f8ae91e4734 to your computer and use it in GitHub Desktop.
simple Dockerfile for MLflow tracking server with database backend, not waiting for the DB yet
FROM python:3.7.0
RUN pip install mlflow==1.0.0
RUN pip install psycopg2
RUN mkdir /mlflow/
CMD mlflow server \
--backend-store-uri postgresql://admin:secret@postgres:5432/mlflow \
--default-artifact-root /mlflow \
--host 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment