Files
spleeter/docker/conda-gpu.dockerfile

23 lines
870 B
Plaintext
Raw Normal View History

2019-11-22 12:24:50 +01:00
FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04
2019-11-21 12:52:09 +01:00
RUN apt-get update --fix-missing \
&& apt-get install -y wget bzip2 ca-certificates curl git \
&& apt-get clean \
2019-11-21 12:52:09 +01:00
&& rm -rf /var/lib/apt/lists/* \
&& wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-4.6.14-Linux-x86_64.sh -O ~/miniconda.sh \
&& /bin/bash ~/miniconda.sh -b -p /opt/conda \
&& rm ~/miniconda.sh \
&& /opt/conda/bin/conda clean -tipsy \
&& ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh \
&& echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc \
2019-11-21 14:41:11 +01:00
&& echo "conda activate base" >> ~/.bashrc \
&& ln -s /opt/conda/bin/conda /usr/bin/conda
2019-11-21 12:25:25 +01:00
2019-11-22 15:17:21 +01:00
COPY audio_example.mp3 .
2019-11-22 14:51:18 +01:00
RUN conda install -y -c conda-forge musdb
2019-11-21 12:25:25 +01:00
# RUN conda install -y -c conda-forge museval
2020-01-01 16:51:22 +09:00
RUN conda install -y -c conda-forge spleeter-gpu=1.4.9
2019-11-22 15:17:21 +01:00
ENTRYPOINT ["spleeter"]