Skip to content

Commit

Permalink
Actually install the package inside the Dockerfile so the UI works (m…
Browse files Browse the repository at this point in the history
…lflow#17)

* Actually install the package inside the Dockerfile so the UI works.

* Address code review comments.

* Dockerfile cleanup.
  • Loading branch information
mdagost authored and andrewmchen committed Jun 7, 2018
1 parent 1e84a14 commit 13bbd76
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 13bbd76

Please sign in to comment.