feat(docker): add python3.10 dev to runtime deps

This commit is contained in:
Morgan Funtowicz 2024-10-22 23:05:55 +02:00
parent ba2618eba2
commit 5f81550aa6

View File

@ -84,7 +84,7 @@ RUN mkdir $TGI_INSTALL_PREFIX && mkdir "$TGI_INSTALL_PREFIX/include" && mkdir "$
CMAKE_INSTALL_PREFIX=$TGI_INSTALL_PREFIX cargo build --release
FROM nvidia/cuda:12.6.1-cudnn-runtime-ubuntu22.04 AS runtime
RUN apt update && apt install -y python3 && \
RUN apt update && apt install -y python3-minimal python3-dev && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
WORKDIR /usr/local/tgi/bin