advdoors/.dockerignore
Maxim Snesarev 63e619eab6 Refactor .dockerignore and Dockerfile for optimized build context and caching
- Updated .dockerignore to ignore everything by default while allowing necessary files and directories for the Docker build.
- Enhanced Dockerfile to utilize caching for pnpm installation and Turbo build process, improving build performance and efficiency.
2026-04-03 00:44:24 +03:00

18 lines
287 B
Plaintext

# Ignore everything by default
*
# Allow only what the Dockerfile needs
!package.json
!pnpm-lock.yaml
!pnpm-workspace.yaml
!turbo.json
!.npmrc
!apps/web/
!packages/
# Re-exclude build artifacts that snuck in
apps/web/.next
apps/web/node_modules
packages/*/node_modules
packages/*/dist