https://github.com/PaddlePaddle/Serving/blob/v0.8.3/doc/Run_On_Kubernetes_CN.md
https://gitee.com/AI-Mart/Serving
yum install git
git clone https://github.com/PaddlePaddle/Serving.git
cd Serving
bash tools/generate_runtime_docker.sh --help
bash tools/generate_runtime_docker.sh --env cuda10.1 --python 3.7 --serving 0.8.3 --paddle 2.2.2 --image_name paddle_serving_runtime:cuda10.1-py37-sv0.8.3-pd2.2.2
docker login -u xx -p xx xx-docker.pkg.coding.net
docker push xx-docker.pkg.coding.net/xx/xx/xx:cuda10.1-py37-sv0.8.3-pd2.2.2
FROM xx-docker.pkg.coding.net/xx/xx/xx:cuda10.1-py37-sv0.8.3-pd2.2.2
COPY . /deploy
WORKDIR /deploy
# Install requirements
RUN pip config set global.index-url https://mirror.baidu.com/pypi/simple \
&& python3.7 -m pip install --upgrade setuptools \
&& python3.7 -m pip install --upgrade pip \
&& pip3.7 install -r requirements.txt \
&& python3.7 paddle_model.py
ENTRYPOINT python3.7 web_service.py