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.
This commit is contained in:
Chenwei Jiang 2025-08-21 14:46:44 +08:00
parent 4557728932
commit 1b16056075
Signed by: cheverjohn
GPG key ID: ADC4815BFE960182

20
.dockerignore Normal file
View file

@ -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