Fix frontend build OOM: skip tsc, use vite only, bump memory limits

- Replace `npm run build` (tsc -b && vite build) with `npx vite build`
  in Dockerfile since Vite transpiles via SWC independently of tsc.
  Type-checking is already done in the test step.
- Set Node heap to 1024MB (was 384MB which OOMed even for Vite)
- Bump Drone pod memory: requests 1.5Gi, limits 3Gi to cover
  plugins/docker overhead
This commit is contained in:
Viktor Barzin 2026-02-11 22:59:12 +00:00
parent f9e4960783
commit fd4864fd03
No known key found for this signature in database
GPG key ID: 0EB088298288D958
2 changed files with 7 additions and 6 deletions

View file

@ -25,9 +25,9 @@ steps:
image: plugins/docker
resources:
requests:
memory: 1073741824
memory: 1610612736
limits:
memory: 2147483648
memory: 3221225472
settings:
username: viktorbarzin
password:
@ -45,9 +45,9 @@ steps:
image: plugins/docker
resources:
requests:
memory: 1073741824
memory: 1610612736
limits:
memory: 2147483648
memory: 3221225472
settings:
username: viktorbarzin
password: