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