Add missing app files and fix Docker configuration

- Add all PHP app files (controllers, middleware, providers, models, enums)
  that were previously gitignored via app/.gitignore wildcard
- Fix app/.gitignore to no longer ignore all files
- Fix docker-compose.yml: use named volume for postgres to avoid chown permission errors on server
- Fix Dockerfile: use --classmap-authoritative for composer dump-autoload

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 05:11:39 +05:00
parent 50e72d171f
commit c193bbc32a
50 changed files with 1310 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ RUN composer install \
--no-autoloader \
--prefer-dist
RUN composer dump-autoload --no-scripts --optimize && \
RUN composer dump-autoload --no-scripts --optimize --classmap-authoritative && \
chown -R root:www-data /var/www && \
chmod 755 -R /var/www && \
chmod -R 775 /var/www/bootstrap/cache