mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
polish code with new pre-commit rule (#2923)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:cuda126-dev
|
||||
RUN apt update && apt install -y lsof
|
||||
RUN wget https://raw.githubusercontent.com/PaddlePaddle/FastDeploy/refs/heads/develop/requirements.txt
|
||||
RUN wget https://raw.githubusercontent.com/PaddlePaddle/FastDeploy/refs/heads/develop/requirements.txt
|
||||
RUN python -m pip install -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple && python -m pip install pytest
|
||||
RUN apt update && apt install -y python3.10-venv
|
||||
|
||||
@@ -3,7 +3,7 @@ PRODUCT_NAME='ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle:fastdeplo
|
||||
cp ../../requirements.txt ./
|
||||
|
||||
docker build -t ${PRODUCT_NAME} -f Dockerfile.ci . \
|
||||
--network host
|
||||
--network host
|
||||
# --build-arg HTTP_PROXY=${proxy} \
|
||||
# --build-arg HTTPS_PROXY=${proxy} \
|
||||
# --build-arg ftp_proxy=${proxy}
|
||||
|
||||
Reference in New Issue
Block a user