Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# .dockerignore for documentation build
# Keeps docs/ but excludes other unnecessary files

# Dependencies
node_modules/
**/node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Build outputs
dist/
build/
.turbo/
.next/
out/
coverage/
*.tsbuildinfo

# Development files
.git/
.github/
.gitignore
.env*
.envrc
!.env.example

# IDE & Editor
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Test files
**/*.test.ts
**/*.spec.ts
test/
tests/
__tests__/
__mocks__/

# Config files not needed in container
.prettierrc*
.eslintrc*
eslint.config.*
.editorconfig

# Misc
*.log
.cache/
temp/
tmp/
.specs/

# Nix
flake.nix
flake.lock

# CI/CD
.github/
.changeset/

# Exclude markdown except in docs
*.md
!docs/**/*.md
!packages/*/README.md
75 changes: 75 additions & 0 deletions .dockerignore.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# .dockerignore - Optimize build context
# Reduce image size and build time by excluding unnecessary files

# Dependencies
node_modules/
**/node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Build outputs
dist/
build/
.turbo/
.next/
out/
coverage/
*.tsbuildinfo

# Development files
.git/
.github/
.gitignore
.env*
.envrc
!.env.example

# IDE & Editor
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Documentation (unless building docs)
docs/
*.md
!packages/*/README.md

# Test files
**/*.test.ts
**/*.spec.ts
test/
tests/
__tests__/
__mocks__/

# Config files not needed in container
.prettierrc*
.eslintrc*
eslint.config.*
.editorconfig

# Misc
*.log
.cache/
temp/
tmp/
.specs/

# Nix (if not using)
flake.nix
flake.lock
.envrc

# CI/CD
.github/
.changeset/

# Docker
Dockerfile*
docker-compose*.yml
.dockerignore
69 changes: 69 additions & 0 deletions .dockerignore.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# .dockerignore for documentation build
# Keeps docs/ but excludes other unnecessary files

# Dependencies
node_modules/
**/node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Build outputs
dist/
build/
.turbo/
.next/
out/
coverage/
*.tsbuildinfo

# Development files
.git/
.github/
.gitignore
.env*
.envrc
!.env.example

# IDE & Editor
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Test files
**/*.test.ts
**/*.spec.ts
test/
tests/
__tests__/
__mocks__/

# Config files not needed in container
.prettierrc*
.eslintrc*
eslint.config.*
.editorconfig

# Misc
*.log
.cache/
temp/
tmp/
.specs/

# Nix
flake.nix
flake.lock

# CI/CD
.github/
.changeset/

# Exclude markdown except in docs
*.md
!docs/**/*.md
!packages/*/README.md
Loading