Pass Supabase env vars to frontend Docker build

↗ view on GitHub · Pasquale Muraca · 2026-05-13 · 70aaf0c2

Add NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY as build-time ARGs in Dockerfile.frontend and export them as ENV so the frontend build can embed Supabase configuration. Update docker-compose.yml to forward those build args with fallback defaults. Also remove the explicit compose version declaration at the top of docker-compose.yml.
Repository PasqualeMuraca/mike
Author Pasquale Muraca <pasqualemuraca2003@gmail.com>
Authored
Parents f3e2a1ed
Stats 2 files changed , +9 , -2
Part of Docker containerization of Mike platform

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-70aaf0c2.md from inside the repo you want the change in.

⬇ Download capture-commit-70aaf0c2.md