forked from mlflow/mlflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (21 loc) · 941 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM continuumio/miniconda3
WORKDIR /app
ADD . /app
RUN apt-get update && \
# install prequired modules to support install of mlflow and related components
apt-get install -y default-libmysqlclient-dev build-essential curl \
# cmake and protobuf-compiler required for onnx install
cmake protobuf-compiler && \
# install required python packages
pip install -r dev-requirements.txt --no-cache-dir && \
pip install -r test-requirements.txt --no-cache-dir && \
# install mlflow in editable form
pip install --no-cache-dir -e . && \
# mkdir required to support install openjdk-11-jre-headless
mkdir -p /usr/share/man/man1 && apt-get install -y openjdk-11-jre-headless && \
# install npm for node.js support
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get update && apt-get install -y nodejs && \
cd mlflow/server/js && \
npm install && \
npm run build