2024-02-20 14:19:55 -08:00
|
|
|
|
|
|
|
|
FROM continuumio/miniconda3
|
|
|
|
|
|
2024-02-20 21:03:18 -08:00
|
|
|
RUN conda config --quiet --add channels conda-forge
|
|
|
|
|
RUN conda config --quiet --add channels nvidia
|
2024-02-20 14:19:55 -08:00
|
|
|
|
2024-02-20 21:03:18 -08:00
|
|
|
RUN conda update conda -y
|
2024-02-20 14:19:55 -08:00
|
|
|
|
2024-02-20 21:03:18 -08:00
|
|
|
RUN conda install --quiet -y -c nvidia \
|
|
|
|
|
cudatoolkit=11.8 \
|
|
|
|
|
cudnn
|
2024-02-20 14:19:55 -08:00
|
|
|
|
2024-02-20 21:03:18 -08:00
|
|
|
RUN conda install --quiet -y \
|
|
|
|
|
python=3.9
|
|
|
|
|
|
|
|
|
|
RUN CONDA_OVERRIDE_CUDA=11.8 \
|
|
|
|
|
conda install --quiet -y -c conda-forge \
|
|
|
|
|
jupyterlab \
|
2024-02-20 14:19:55 -08:00
|
|
|
pandas \
|
|
|
|
|
librosa \
|
|
|
|
|
matplotlib \
|
|
|
|
|
pyarrow \
|
2024-02-20 21:03:18 -08:00
|
|
|
pillow \
|
|
|
|
|
tensorflow-gpu=2.14 \
|
2024-02-20 14:19:55 -08:00
|
|
|
keras \
|
|
|
|
|
&& /bin/true # only added to make the installed package lines consistent
|
|
|
|
|
|
|
|
|
|
CMD /opt/conda/bin/jupyter lab \
|
|
|
|
|
--notebook-dir=/notebooks \
|
|
|
|
|
--ip='*' \
|
|
|
|
|
--port=9001 \
|
|
|
|
|
--no-browser \
|
|
|
|
|
--allow-root
|
|
|
|
|
|