1
This commit is contained in:
parent
88739a3600
commit
9cc5cf156d
@ -48,7 +48,6 @@ WORKDIR /opt/www
|
|||||||
# RUN composer install --no-dev --no-scripts
|
# RUN composer install --no-dev --no-scripts
|
||||||
|
|
||||||
COPY . /opt/www
|
COPY . /opt/www
|
||||||
ADD /data/www/cret/wechat/pay/ extend/Wechat/certs/
|
|
||||||
RUN composer install --no-dev -o && php bin/hyperf.php
|
RUN composer install --no-dev -o && php bin/hyperf.php
|
||||||
|
|
||||||
EXPOSE 9501
|
EXPOSE 9501
|
||||||
|
|||||||
@ -93,6 +93,9 @@ upstream hospital {
|
|||||||
|
|
||||||
echo "$upstrame" > $nginx_upstrame
|
echo "$upstrame" > $nginx_upstrame
|
||||||
|
|
||||||
|
# 复制证书
|
||||||
|
cp /data/www/cret/wechat/pay/ ./extend/Wechat/certs/
|
||||||
|
|
||||||
#获取可用端口镜像数量
|
#获取可用端口镜像数量
|
||||||
image=$(docker images "hospital-applets-api-$reload_port" | wc -l)
|
image=$(docker images "hospital-applets-api-$reload_port" | wc -l)
|
||||||
if [[ $image -eq 1 ]];then
|
if [[ $image -eq 1 ]];then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user