mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
9275301485
Former-commit-id: e447a4b7c66fcd079573d8c42867a6747f9d4b98
16 lines
427 B
Docker
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
|