Skip to content
Open
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
20 changes: 20 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Keep the Docker build context (and the resulting image layers) small so
# `COPY . /var/www/` does not run the CI runner out of disk. Large PRs were
# failing the preview build with "no space left on device" because the whole
# ~400MB .git history was being copied into the image.

# Version control & CI metadata — never needed inside the app image
.git
.gitattributes
.github

# Dependencies are provided inside the container, not from the build context:
# - vendor/ -> reinstalled at startup by docker/entrypoint.sh (`composer install`)
# - node_modules/ -> not needed at runtime; frontend assets are pre-built and
# committed under public/build/
node_modules
vendor

# Editor / IDE
.idea
.vscode
Loading