docker: exclude dev, CI, test and local-only files from the build context
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
da971e1646
commit
8d557adb5d
1 file changed
+55
-4
+55
-4
@@ -1,9 +1,60 @@
|
||||
.git
|
||||
# Dependencies (installed during the build)
|
||||
**/node_modules
|
||||
vendor
|
||||
node_modules
|
||||
storage/logs
|
||||
|
||||
# Local leftovers, not part of the app (untracked)
|
||||
apps
|
||||
packages
|
||||
|
||||
# Version control & CI
|
||||
.git
|
||||
.gitea
|
||||
.gitignore
|
||||
.gitattributes
|
||||
.hgignore*
|
||||
|
||||
# Editors / tools
|
||||
.idea
|
||||
.vscode
|
||||
.fleet
|
||||
.claude
|
||||
|
||||
# Environment files (configure via env vars / mounted .env)
|
||||
.env
|
||||
.env.*
|
||||
env.example
|
||||
|
||||
# Docker files (not needed inside the image)
|
||||
docker-compose*.yml
|
||||
Dockerfile*
|
||||
.dockerignore
|
||||
|
||||
# Tests
|
||||
tests
|
||||
phpunit.xml
|
||||
.phpunit.cache
|
||||
.phpunit.result.cache
|
||||
|
||||
# Frontend build tooling (assets are prebuilt in public/)
|
||||
Gruntfile.js
|
||||
webpack.mix.js
|
||||
|
||||
# Dev / host-only files
|
||||
srv
|
||||
update
|
||||
mount_podcasts
|
||||
fix-permissions
|
||||
*.md
|
||||
|
||||
# Runtime state and caches from a local checkout
|
||||
storage/logs/*
|
||||
storage/framework/cache/*
|
||||
storage/framework/sessions/*
|
||||
storage/framework/views/*
|
||||
storage/app/public
|
||||
.env
|
||||
storage/*.key
|
||||
bootstrap/cache/*.php
|
||||
public/hot
|
||||
public/storage
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
Reference in new issue
Block a user