mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 15:13:40 -04:00
- Combine RUN commands to reduce layers - Add --no-install-recommends and clean apt cache - Use COPY --chown to set ownership during copy - Update .dockerignore to exclude dev files and build configs Saves ~260MB (21%) in image size
57 lines
626 B
Plaintext
57 lines
626 B
Plaintext
# Version control
|
|
.git
|
|
.gitignore
|
|
|
|
# Sensitive config (user may mount their own)
|
|
app/Config/Email.php
|
|
|
|
# Build artifacts
|
|
node_modules/
|
|
dist/
|
|
tmp/
|
|
*.patch
|
|
patches/
|
|
|
|
# IDE and editor files
|
|
.idea/
|
|
.vscode/
|
|
.swp
|
|
*.swp
|
|
.buildpath
|
|
.project
|
|
.settings/
|
|
|
|
# Development tools and configs
|
|
tests/
|
|
phpunit.xml
|
|
.php-cs-fixer.*
|
|
phpstan.neon
|
|
*.bash
|
|
git-svn-diff.py
|
|
|
|
# Documentation
|
|
*.md
|
|
!LICENSE
|
|
branding/
|
|
|
|
# Build configs (not needed at runtime)
|
|
composer.json
|
|
composer.lock
|
|
package.json
|
|
package-lock.json
|
|
gulpfile.js
|
|
.env.example
|
|
.dockerignore
|
|
|
|
# Temporary and backup files
|
|
*.rej
|
|
*.orig
|
|
*~
|
|
*.~
|
|
*.log
|
|
|
|
# CI
|
|
.github/
|
|
.github/workflows/
|
|
build/
|