This commit is contained in:
2023-03-02 18:53:37 +08:00
parent 88739a3600
commit 9cc5cf156d
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -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
+3
View File
@@ -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