From 1b160560751cb46093cf901789c04284a1c9bace Mon Sep 17 00:00:00 2001 From: Chever John Date: Thu, 21 Aug 2025 14:46:44 +0800 Subject: [PATCH] Adds .dockerignore file WHAT: Creates a `.dockerignore` file to exclude unnecessary files and directories from the Docker image. WHY: Reduces the size of the Docker image and improves build times by preventing the inclusion of development-related artifacts, node modules, and other irrelevant data. HOW: Adds a `.dockerignore` file with standard exclusions like `node_modules`, development build outputs, temporary files, and hidden system files. --- .dockerignore | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..af5ec19 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,20 @@ +node_modules +dist-dev +.vite +.pnpm-store +**/.DS_Store +**/Thumbs.db +**/.env* +**/npm-debug.log* +**/yarn-debug.log* +**/yarn-error.log* +**/pnpm-debug.log* +**/.turbo +**/.cache +**/.next +**/coverage +**/build +**/tmp +**/temp +**/.git +