From 6224bf6aa5a7f708b1b94840d00bc102224eea8e Mon Sep 17 00:00:00 2001 From: khantey1998 Date: Tue, 16 Jun 2026 17:24:00 +0700 Subject: [PATCH] make changes to gitignore --- Dockerfile | 4 +++- dashboard/.gitignore | 8 +++++--- dashboard/storage/framework/.gitignore | 9 +++++++++ dashboard/storage/framework/cache/.gitignore | 3 +++ dashboard/storage/framework/cache/data/.gitignore | 2 ++ dashboard/storage/framework/sessions/.gitignore | 2 ++ dashboard/storage/framework/testing/.gitignore | 2 ++ dashboard/storage/framework/views/.gitignore | 2 ++ 8 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 dashboard/storage/framework/.gitignore create mode 100644 dashboard/storage/framework/cache/.gitignore create mode 100644 dashboard/storage/framework/cache/data/.gitignore create mode 100644 dashboard/storage/framework/sessions/.gitignore create mode 100644 dashboard/storage/framework/testing/.gitignore create mode 100644 dashboard/storage/framework/views/.gitignore diff --git a/Dockerfile b/Dockerfile index 7eeab3f..bc1e985 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,9 @@ RUN apt-get update && apt-get install -y \ # PHP Extensions RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd -RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache +RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ + && apt-get install -y nodejs +# RUN chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache # Install Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer diff --git a/dashboard/.gitignore b/dashboard/.gitignore index 6e5e7ec..f956f2d 100644 --- a/dashboard/.gitignore +++ b/dashboard/.gitignore @@ -18,10 +18,12 @@ /public/storage /storage/*.key /storage/app/* -/storage/framework/* +/storage/framework/cache/* +/storage/framework/sessions/* +/storage/framework/testing/* +/storage/framework/views/* /storage/logs/* -/storage/pail /vendor Homestead.json Homestead.yaml -Thumbs.db +Thumbs.db \ No newline at end of file diff --git a/dashboard/storage/framework/.gitignore b/dashboard/storage/framework/.gitignore new file mode 100644 index 0000000..05c4471 --- /dev/null +++ b/dashboard/storage/framework/.gitignore @@ -0,0 +1,9 @@ +compiled.php +config.php +down +events.scanned.php +maintenance.php +routes.php +routes.scanned.php +schedule-* +services.json diff --git a/dashboard/storage/framework/cache/.gitignore b/dashboard/storage/framework/cache/.gitignore new file mode 100644 index 0000000..01e4a6c --- /dev/null +++ b/dashboard/storage/framework/cache/.gitignore @@ -0,0 +1,3 @@ +* +!data/ +!.gitignore diff --git a/dashboard/storage/framework/cache/data/.gitignore b/dashboard/storage/framework/cache/data/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/dashboard/storage/framework/cache/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/dashboard/storage/framework/sessions/.gitignore b/dashboard/storage/framework/sessions/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/dashboard/storage/framework/sessions/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/dashboard/storage/framework/testing/.gitignore b/dashboard/storage/framework/testing/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/dashboard/storage/framework/testing/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/dashboard/storage/framework/views/.gitignore b/dashboard/storage/framework/views/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/dashboard/storage/framework/views/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore