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:
parent
4557728932
commit
1b16056075
1 changed files with 20 additions and 0 deletions
20
.dockerignore
Normal file
20
.dockerignore
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue