Skip to content

Commit 5605643

Browse files
committed
fix model docker
1 parent 185d7eb commit 5605643

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include CHANGELOG.md
22
include *requirements.txt
3-
include ./wedpr_python_gateway_sdk/libs/libwedpr_python_transport*
3+
include wedpr_python_gateway_sdk/libs/libwedpr_python_transport.dylib
4+
include wedpr_python_gateway_sdk/libs/libwedpr_python_transport.so

cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def run(self):
2020
setup_args = dict(
2121
name='wedpr-python-gateway-sdk',
2222
packages=find_packages(),
23-
version="3.0.0-20241018",
23+
version="3.0.0-20241019",
2424
description="wedpr-python-gateway-sdk: The gateway sdk for WeDPR",
2525
long_description_content_type="text/markdown",
2626
author="WeDPR Development Team",

docker-files/model/model/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
1212

1313
# install the gateway sdk
1414
# TODO: replace with pypip
15-
RUN pip install -i https://test.pypi.org/simple/ wedpr-python-gateway-sdk
15+
RUN pip install --no-cache-dir -i https://test.pypi.org/simple/ wedpr-python-gateway-sdk
1616

1717
# obtain the source, no need to fetch the submodule(vcpkg) here
1818
RUN git clone https://github.com/WeBankBlockchain/WeDPR-Component.git -b ${SOURCE}
@@ -26,4 +26,4 @@ RUN mkdir -p /data/home/wedpr/wedpr-model/ \
2626
# clear the WeDPR-Component
2727
RUN rm -rf /data/home/wedpr/WeDPR-Component
2828

29-
ENTRYPOINT ["/bin/bash", "/data/home/wedpr/wedpr-model/start.sh", "true"]
29+
ENTRYPOINT ["python", "-u", "/data/home/wedpr/wedpr-model/ppc_model/ppc_model_app.py"]

0 commit comments

Comments
 (0)