Skip to content

Commit

Permalink
chore: add .dockerignore file for build optimization
Browse files Browse the repository at this point in the history
- Exclude node_modules, logs, and temporary files from Docker build context
- Ignore IDE and editor configuration files
- Prevent unnecessary files from being included in Docker image
  • Loading branch information
nicky-ru committed Feb 4, 2025
1 parent 351b039 commit 060d126
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Ignore node_modules from the build context
node_modules

# Ignore logs and temporary files
*.log
*.tmp
.DS_Store

# Ignore Git files and metadata
.gitignore

# Ignore IDE and editor config files
.vscode
.idea
*.swp

# Ignore build artifacts from the host
dist
build

0 comments on commit 060d126

Please sign in to comment.