File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,8 +41,12 @@ RUN apt-get update \
4141RUN apt-get update \
4242 && apt-get install -y --no-install-recommends libre2-5 libb64-0d python3 python3-pip libarchive-dev ffmpeg libsm6 libxext6 \
4343 && python3 -m pip install -U pip \
44- && python3 -m pip install paddlenlp fast-tokenizer-python \
45- && python3 -m pip install paddlepaddle-gpu==2.4.1.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
44+ && python3 -m pip install paddlenlp fast-tokenizer-python
45+
46+ # unset proxy
47+ ENV http_proxy=
48+ ENV https_proxy=
49+ python3 -m pip install paddlepaddle-gpu==2.4.1.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
4650
4751COPY python/dist/*.whl /opt/fastdeploy/
4852RUN python3 -m pip install /opt/fastdeploy/*.whl \
@@ -53,6 +57,3 @@ COPY build/fastdeploy_install /opt/fastdeploy/
5357
5458ENV LD_LIBRARY_PATH="/opt/TensorRT-8.4.1.5/lib/:/opt/fastdeploy/lib:/opt/fastdeploy/third_libs/install/onnxruntime/lib:/opt/fastdeploy/third_libs/install/paddle2onnx/lib:/opt/fastdeploy/third_libs/install/tensorrt/lib:/opt/fastdeploy/third_libs/install/paddle_inference/paddle/lib:/opt/fastdeploy/third_libs/install/paddle_inference/third_party/install/mkldnn/lib:/opt/fastdeploy/third_libs/install/paddle_inference/third_party/install/mklml/lib:/opt/fastdeploy/third_libs/install/openvino/runtime/lib:$LD_LIBRARY_PATH"
5559ENV PATH="/opt/tritonserver/bin:$PATH"
56- # unset proxy
57- ENV http_proxy=
58- ENV https_proxy=
You can’t perform that action at this time.
0 commit comments