2024-02-20 14:19:55 -08:00
|
|
|
|
2024-03-02 08:55:39 -08:00
|
|
|
FROM nvcr.io/nvidia/tensorflow:24.01-tf2-py3
|
2024-02-20 14:19:55 -08:00
|
|
|
|
|
|
|
|
|
2024-03-02 08:55:39 -08:00
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
2024-03-02 14:46:14 -08:00
|
|
|
RUN pip3 install --user --force-reinstall --ignore-installed \
|
2024-03-02 08:55:39 -08:00
|
|
|
tensorflow[with-gpu] \
|
2024-02-20 14:19:55 -08:00
|
|
|
keras \
|
2024-02-22 06:37:39 -08:00
|
|
|
keras-tuner \
|
|
|
|
|
numpy \
|
|
|
|
|
h5py \
|
2024-02-20 14:19:55 -08:00
|
|
|
&& /bin/true # only added to make the installed package lines consistent
|
|
|
|
|
|
2024-03-02 08:55:39 -08:00
|
|
|
RUN pip3 install \
|
2024-03-02 14:46:14 -08:00
|
|
|
jupyter \
|
2024-02-22 18:54:49 -08:00
|
|
|
pandas \
|
|
|
|
|
librosa \
|
|
|
|
|
matplotlib \
|
|
|
|
|
pillow \
|
2024-03-02 08:55:39 -08:00
|
|
|
keras-tuner \
|
2024-02-22 18:54:49 -08:00
|
|
|
&& /bin/true # as above
|
|
|
|
|
|
2024-03-02 08:55:39 -08:00
|
|
|
ENV LD_LIBRARY_PATH /usr/local/cuda-12.0/compat:/usr/local/cuda-12.0/targets/x86_64-linux/lib/:$LD_LIBRARY_PATH
|
2024-02-20 14:19:55 -08:00
|
|
|
|
2024-03-02 14:46:14 -08:00
|
|
|
CMD ["/usr/local/bin/jupyter", "lab", "--ip", "0.0.0.0", "--port", "9001", "--no-browser", "--allow-root", "--LabApp.token=''", "--notebook-dir=/notebooks", "--ResourceUseDisplay.track_cpu_percent=True" ]
|