Dockerfile.server 570 B

12345678910111213141516171819
  1. FROM nvcr.io/nvidia/tritonserver:23.01-py3
  2. # https://docs.nvidia.com/deeplearning/frameworks/support-matrix/index.html
  3. # Please choose previous tritonserver:xx.xx if you encounter cuda driver mismatch issue
  4. LABEL maintainer="NVIDIA"
  5. LABEL repository="tritonserver"
  6. RUN apt-get update && apt-get -y install \
  7. python3-dev \
  8. cmake \
  9. libsndfile1
  10. # -i https://pypi.tuna.tsinghua.edu.cn/simple
  11. RUN pip3 install torch torchaudio
  12. RUN pip3 install kaldifeat pyyaml
  13. # Dependency for client
  14. RUN pip3 install soundfile grpcio-tools tritonclient
  15. WORKDIR /workspace