MEGAINFRA-WEBAPP/.dockerignore
DEls 44ad91daf9 Fix Coolify build: include scripts/ in Docker context
The previous .dockerignore excluded the scripts/ directory to keep
the runtime image lean, but build-og-image.mjs is invoked as part
of 'npm run build' (which is 'npm run og-image && next build'). Without
the script in the build context, the Docker build fails with:

  Error: Cannot find module '/app/scripts/build-og-image.mjs'

The scripts/ directory is needed at build time only; the final
runner image doesn't execute any of these files, so including them
in the build context is harmless. The script is small (~4.6 KB)
and only runs during 'npm run build' in the builder stage.
2026-08-09 20:30:29 +02:00

51 lines
722 B
Text

# Dependencies
node_modules
.pnpm-store
# Build artefacts
.next
out
build
dist
# Git / VCS
.git
.gitignore
.gitattributes
# Local config & secrets
.env
.env.local
.env.*.local
.vscode
.idea
.DS_Store
# Tooling caches and editor state
.opencode
*.log
*.tsbuildinfo
.turbo
.cache
# Test / coverage output
coverage
.nyc_output
# Docker artefacts (avoid recursive COPY in the build)
Dockerfile
Dockerfile.*
docker-compose*.yml
.dockerignore
# Documentation / scripts we don't need at runtime
*.md
!README.md
# PWA assets are generated by the build (the manifest is rewritten
# during `next build`), so don't ship the previous swarm.
public/sw.js
public/workbox-*.js
# Generated by Next.js at build time
next-env.d.ts