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 &