4 Commits

Author SHA1 Message Date
sulthan f9ce6f8221 fix: revert npm ci back to npm install in docker builds
package-lock.json was generated on Windows and only locks
@esbuild/win32-x64, no linux-x64 entry. npm ci installs strictly
from lockfile and fails with "package @esbuild/linux-x64 could not
be found" on Linux build hosts. npm install resolves the correct
platform binary even when absent from the lock.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 13:58:15 +07:00
sulthan 04280c578c fix: build Vite assets in app container, harden docker deploy
App (PHP-FPM) container never got public/build/manifest.json, only
the nginx container built it — blade's @vite runs server-side in PHP
and threw "Vite manifest not found", causing 500 on every page.

Also:
- strip docker/ (incl. DB dump) from the shipped app image
- pin npm installs to package-lock.json via npm ci in both build stages
- fix .dockerignore case typo (Docker/Dockerfile -> docker/Dockerfile)
- pass AWS_* env vars to app service, required since FILESYSTEM_DISK=s3

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 13:31:03 +07:00
sulthan 75cf5b2e69 fix post script issue in composer 2026-06-23 18:32:14 +07:00
sulthan 966ed115b2 initial commit 2026-06-23 13:28:38 +07:00