Skip to content

Commit

Permalink
fix model docker
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 12, 2024
1 parent 185d7eb commit 5605643
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion cpp/wedpr-transport/sdk-wrapper/python/bindings/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include CHANGELOG.md
include *requirements.txt
include ./wedpr_python_gateway_sdk/libs/libwedpr_python_transport*
include wedpr_python_gateway_sdk/libs/libwedpr_python_transport.dylib
include wedpr_python_gateway_sdk/libs/libwedpr_python_transport.so
2 changes: 1 addition & 1 deletion cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def run(self):
setup_args = dict(
name='wedpr-python-gateway-sdk',
packages=find_packages(),
version="3.0.0-20241018",
version="3.0.0-20241019",
description="wedpr-python-gateway-sdk: The gateway sdk for WeDPR",
long_description_content_type="text/markdown",
author="WeDPR Development Team",
Expand Down
4 changes: 2 additions & 2 deletions docker-files/model/model/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive \

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

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

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

0 comments on commit 5605643

Please sign in to comment.