perf: docker + next.js build optimisation - dockerignore exclusions, BuildKit cache mounts, backend image reuse, memory limits, next.js bundle tree-shaking
This commit is contained in:
@@ -1,12 +1,54 @@
|
||||
# ── Node / NPM ─────────────────────────────────────────────────────────────
|
||||
node_modules
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# ── Next.js build artefacts ─────────────────────────────────────────────────
|
||||
.next
|
||||
out
|
||||
|
||||
# ── Git / CI ────────────────────────────────────────────────────────────────
|
||||
.git
|
||||
.gitignore
|
||||
.github
|
||||
|
||||
# ── Secrets / env files (injected at runtime via docker-compose env_file) ───
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# ── Python artefacts ─────────────────────────────────────────────────────────
|
||||
__pycache__
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
backend/__pycache__
|
||||
backend/celerybeat-schedule
|
||||
|
||||
# ── IDE / OS ─────────────────────────────────────────────────────────────────
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# ── Heavy static data not needed in the image ────────────────────────────────
|
||||
dpps
|
||||
scratch
|
||||
*.pdf
|
||||
jee_advanced_full_90q.json
|
||||
neet_180_questions.json
|
||||
neet_sample_questions.md
|
||||
API_DOCUMENTATION.md
|
||||
PAGEWISE_API_DOCUMENTATION.md
|
||||
DESIGN_SYSTEM.md
|
||||
PRD.md
|
||||
admin_json_samples.md
|
||||
README.md
|
||||
|
||||
# ── TypeScript build info ────────────────────────────────────────────────────
|
||||
tsconfig.tsbuildinfo
|
||||
|
||||
Reference in New Issue
Block a user