diff --git a/Dockerfile b/Dockerfile index f00dacf3ad226..db314b810acb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,15 @@ FROM continuumio/miniconda -RUN pip install numpy pandas flask pygal smalluuid zipstream python-dateutil gitpython scikit-learn - WORKDIR /app ADD . /app + +RUN pip install -r dev-requirements.txt && \ + pip install -r tox-requirements.txt && \ + pip install -e . && \ + apt-get install -y gnupg && \ + curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ + apt-get install -y nodejs && \ + cd mlflow/server/js && \ + npm install && \ + npm run build