File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,12 @@ RUN apt-get update \
41
41
RUN apt-get update \
42
42
&& apt-get install -y --no-install-recommends libre2-5 libb64-0d python3 python3-pip libarchive-dev ffmpeg libsm6 libxext6 \
43
43
&& 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
46
50
47
51
COPY python/dist/*.whl /opt/fastdeploy/
48
52
RUN python3 -m pip install /opt/fastdeploy/*.whl \
@@ -53,6 +57,3 @@ COPY build/fastdeploy_install /opt/fastdeploy/
53
57
54
58
ENV 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"
55
59
ENV 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