From 0c58ba50570dd4b07132351917d88d203a6719e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Wed, 17 Aug 2022 17:44:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=20cp=20=E5=91=BD=E4=BB=A4=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/docker/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/docker/deploy.sh b/script/docker/deploy.sh index a4b053cc..8c756f34 100644 --- a/script/docker/deploy.sh +++ b/script/docker/deploy.sh @@ -29,12 +29,12 @@ mount(){ #挂载 nginx 配置文件 if test ! -f "/docker/nginx/" ;then mkdir -p /docker/nginx/ - cp nginx/* /docker/nginx/ + cp -r nginx/* /docker/nginx/ fi #挂载 redis 配置文件 if test ! -f "/docker/redis/" ;then mkdir -p /docker/redis/ - cp redis/* /docker/redis/ + cp -r redis/* /docker/redis/ fi chmod -R 777 /docker }