Dockerfile.notebook 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved.
  2. # Licensed under the Apache License, Version 2.0 (the "License");
  3. # you may not use this file except in compliance with the License.
  4. # You may obtain a copy of the License at
  5. #
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. #
  8. # Unless required by applicable law or agreed to in writing, software
  9. # distributed under the License is distributed on an "AS IS" BASIS,
  10. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. # See the License for the specific language governing permissions and
  12. # limitations under the License.
  13. FROM nvcr.io/nvidia/tritonserver:21.05-py3-sdk
  14. # Kaldi dependencies
  15. RUN apt-get update && apt-get install -y jupyter \
  16. python3-pyaudio \
  17. python-pyaudio \
  18. libasound-dev \
  19. portaudio19-dev \
  20. libportaudio2 \
  21. libportaudiocpp0 \
  22. libsndfile1 \
  23. alsa-base \
  24. alsa-utils \
  25. vim
  26. RUN python3 -m pip uninstall -y pip
  27. RUN apt install python3-pip --reinstall
  28. RUN pip3 install matplotlib soundfile librosa sounddevice