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.
20 lines
224 B
Text
20 lines
224 B
Text
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
|
|
|