When a new contributor attempts to spin up the local environment using the official docker-compose up --build command, the build fails at the frontend stage.
Root Causes:
-
apps/frontend/Dockerfile is hardcoded to node:18-alpine, which is incompatible with updated dependencies (like @tailwindcss/oxide which expects >= 20).
-
Next.js production build fails due to strict ESLint and TypeScript compiler errors in the _home directory (unused variables and implicit any types).
Expected behavior:
The docker-compose command should successfully build both the frontend and backend containers without crashing.
Proposed Solution:
I have fixed these issues locally by bumping the Dockerfile Node version to 20 and patching the strict type errors. I will submit a PR linking to this issue shortly to unblock future contributors.