Skip to content

Commit 8f82f84

Browse files
committed
fixed preopen port
1 parent 45d8c00 commit 8f82f84

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

vendor/ngc-triton/Dockerfile.20.12-py3

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ FROM nvcr.io/nvidia/tritonserver:20.12-py3
22
# NVIDIA Triton
33

44
ENV PYTHONUNBUFFERED=1 \
5+
_CUDA_COMPAT_PATH="/usr/local/cuda/compat" \
56
PATH="/opt/tritonserver/bin:/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ucx/bin" \
67
LD_LIBRARY_PATH="/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64" \
78
LANG=C.UTF-8
89

10+
RUN apt update && \
11+
apt install -y --no-install-recommends \
12+
ncurses-term \
13+
unzip zlib1g-dev htop && \
14+
ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color
15+
916
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
1017
COPY ./service-defs /etc/backend.ai/service-defs
1118
LABEL ai.backend.kernelspec="1" \
@@ -20,7 +27,7 @@ LABEL ai.backend.kernelspec="1" \
2027
ai.backend.base-distro="ubuntu16.04" \
2128
ai.backend.runtime-type="python" \
2229
ai.backend.runtime-path="/usr/bin/python" \
23-
ai.backend.service-ports="grpc:http:8001,http:http:8000,metric:http:8002"
30+
ai.backend.service-ports="triton-server:preopen:[8000,8001,8002]"
2431

2532
WORKDIR /home/work
2633
# vim: ft=dockerfile

0 commit comments

Comments
 (0)