milvus/Dockerfile
xj.lin 9275301485 support base dockerfile and update readme
Former-commit-id: e447a4b7c66fcd079573d8c42867a6747f9d4b98
2019-04-03 16:10:52 +08:00

16 lines
427 B
Docker

FROM nvidia/cuda:9.0-devel-ubuntu16.04
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
WORKDIR /app
COPY environment.yaml install/miniconda.sh /app/
RUN ./miniconda.sh -p $HOME/miniconda -b -f \
&& echo ". /root/miniconda/etc/profile.d/conda.sh" >> /root/.bashrc \
&& /root/miniconda/bin/conda env create -f environment.yaml \
&& echo "conda activate vec_engine" >> /root/.bashrc \
&& rm /app/*
COPY . /app