From b85850c9dbb9c3c56c33ff0798fbb0e6e0b5c551 Mon Sep 17 00:00:00 2001 From: Easy Date: Tue, 4 Jan 2022 19:42:40 +0800 Subject: [PATCH] Update init.sh not overwrite --- docker/web/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/web/init.sh b/docker/web/init.sh index c43f818..8eba260 100644 --- a/docker/web/init.sh +++ b/docker/web/init.sh @@ -1,7 +1,7 @@ #!/bin/bash # 初始化 laravel -cd /app/api && composer install && cp .env.example .env && php artisan key:generate && php artisan migrate --seed +cd /app/api && composer install && cp -n .env.example .env && php artisan key:generate && php artisan migrate --seed chmod -R 0777 /app/api/storage chmod -R 0777 /app/api/bootstrap/cache/ @@ -10,4 +10,4 @@ chmod -R 0777 /app/api/bootstrap/cache/ # 启动 proxy # 已经设置为 deamon -# cd /app/proxy && ./server-linux & \ No newline at end of file +# cd /app/proxy && ./server-linux &