From 9cc5cf156d91f503c6d4be366c85105fe4aa0796 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 2 Mar 2023 18:53:37 +0800 Subject: [PATCH] 1 --- Dockerfile | 1 - hospital-deploy.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c1e58fb..53c5cb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,6 @@ WORKDIR /opt/www # RUN composer install --no-dev --no-scripts COPY . /opt/www -ADD /data/www/cret/wechat/pay/ extend/Wechat/certs/ RUN composer install --no-dev -o && php bin/hyperf.php EXPOSE 9501 diff --git a/hospital-deploy.sh b/hospital-deploy.sh index 277cef7..c316beb 100644 --- a/hospital-deploy.sh +++ b/hospital-deploy.sh @@ -93,6 +93,9 @@ upstream hospital { echo "$upstrame" > $nginx_upstrame +# 复制证书 +cp /data/www/cret/wechat/pay/ ./extend/Wechat/certs/ + #获取可用端口镜像数量 image=$(docker images "hospital-applets-api-$reload_port" | wc -l) if [[ $image -eq 1 ]];then