diff --git a/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8 b/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8 index f2f2605043..c5b477fc22 100644 --- a/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8 +++ b/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8 @@ -6,6 +6,8 @@ COPY ./client/ /opt/output/client/ ENV LD_LIBRARY_PATH="/usr/local/cuda-11.8/compat/:$LD_LIBRARY_PATH" +RUN apt update && apt install net-tools + RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ \ && python3 -m pip install paddlenlp==3.0.0b0 @@ -31,3 +33,4 @@ RUN cd /opt/output/Serving/ \ ENV http_proxy="" ENV https_proxy="" +ENV TZ=Asia/Shanghai diff --git a/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8_pure b/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8_pure index ca3b2cf687..3ee6c7c1dc 100644 --- a/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8_pure +++ b/llm/dockerfiles/Dockerfile_serving_cuda118_cudnn8_pure @@ -2,9 +2,9 @@ FROM registry.baidubce.com/paddlepaddle/fastdeploy:llm-base-gcc12.3-cuda11.8-cud WORKDIR /opt/output/ -ENV http_proxy "http://172.19.57.45:3128" -ENV https_proxy "http://172.19.57.45:3128" -ENV LD_LIBRARY_PATH "/usr/local/cuda-11.8/compat/:$LD_LIBRARY_PATH" +ENV LD_LIBRARY_PATH="/usr/local/cuda-11.8/compat/:$LD_LIBRARY_PATH" + +RUN apt update && apt install net-tools RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ \ @@ -20,6 +20,6 @@ RUN git clone https://github.com/PaddlePaddle/FastDeploy.git \ && cd FastDeploy/llm \ && python3 -m pip install -r server/requirements.txt -ENV http_proxy "" -ENV https_proxy "" +ENV http_proxy="" +ENV https_proxy="" ENV TZ=Asia/Shanghai diff --git a/llm/dockerfiles/Dockerfile_serving_cuda123_cudnn9 b/llm/dockerfiles/Dockerfile_serving_cuda123_cudnn9 index abc8abef85..c7c62d4056 100644 --- a/llm/dockerfiles/Dockerfile_serving_cuda123_cudnn9 +++ b/llm/dockerfiles/Dockerfile_serving_cuda123_cudnn9 @@ -6,6 +6,8 @@ COPY ./client/ /opt/output/client/ ENV LD_LIBRARY_PATH="/usr/local/cuda-12.3/compat/:$LD_LIBRARY_PATH" +RUN apt update && apt install net-tools + RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple RUN python3 -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu123/ \ && python3 -m pip install paddlenlp==3.0.0b0 @@ -31,3 +33,4 @@ RUN cd /opt/output/Serving/ \ ENV http_proxy="" ENV https_proxy="" +ENV TZ=Asia/Shanghai