Files
Zhengyuan ZhangandGitHub 5dd4cb2c4a add Paddle predictor (#1615)
* add custom paddle predictor sample
* add python/paddleserver
* add paddle to Makefile
* github workflow: install paddleserver before pytest
* add paddle predictor in inferenceservice controller
* add paddle-docker-publish workflow, update configmap
* add docs/samples/v1beta1/paddle
* run hack/python-sdk/client-gen.sh
* add e2e test for paddle
* use personal image for e2e test, TO BE REVERTED
2021-06-26 10:00:20 -04:00

10 lines
368 B
Docker

FROM registry.baidubce.com/paddlepaddle/serving:0.5.0-devel
RUN git clone https://github.com/PaddlePaddle/Serving.git
RUN pip install paddle-serving-server paddle-serving-app paddle-serving-client
RUN python -m paddle_serving_app.package --get_model lac && tar -xzvf lac.tar.gz
CMD python Serving/python/examples/lac/lac_web_service.py lac_model/ lac_workdir 8080