usdevs / usc-website-hackathon-frontend

Prototype frontend
https://usc-website-hackathon-frontend.vercel.app
2 stars 4 forks source link

Profile deployment #71

Closed parth-io closed 6 months ago

parth-io commented 1 year ago
parth-io commented 1 year ago

This was an insanely stupid issue to debug. What happened was that the Next.JS at v13 did not work well with Node v16 or below, and DO was at Node v16. Using a Docker container with Node v20 and Next v13.

Also, switched to alpine-linux image because of musl libs - apparently, NextJS's sharp image optimiser works terribly with Debian's glibc or jmalloc

zsh-eng commented 6 months ago

Closing this issue as we haven't faced any problems with deployment since then.