mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 10:24:26 +00:00
Fix: Remove hardcoded env placeholders from Dockerfile
- Remove NEXT_PUBLIC_SUPABASE_URL and ANON_KEY placeholders - Remove STRIPE_SECRET_KEY placeholder - Remove RESEND_API_KEY and GOOGLE_SERVICE_ACCOUNT_JSON placeholders - Allow Coolify to inject correct environment variables at runtime - Fixes ENOTFOUND error on placeholder.supabase.co
This commit is contained in:
@@ -16,15 +16,9 @@ WORKDIR /app
|
|||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Variables de entorno para build
|
# Variables de entorno para build - Coolify inyectará las reales en runtime
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV NEXT_PUBLIC_SUPABASE_URL=https://placeholder.supabase.co
|
|
||||||
ENV NEXT_PUBLIC_SUPABASE_ANON_KEY=placeholder-anon-key
|
|
||||||
ENV SUPABASE_SERVICE_ROLE_KEY=placeholder-service-role-key
|
|
||||||
ENV STRIPE_SECRET_KEY=placeholder
|
|
||||||
ENV RESEND_API_KEY=""
|
|
||||||
ENV GOOGLE_SERVICE_ACCOUNT_JSON=""
|
|
||||||
ENV NODE_OPTIONS="--max-old-space-size=16384"
|
ENV NODE_OPTIONS="--max-old-space-size=16384"
|
||||||
ENV NEXT_ESLINT_IGNORE_DURING_BUILDS=true
|
ENV NEXT_ESLINT_IGNORE_DURING_BUILDS=true
|
||||||
ENV NEXT_PRIVATE_WORKERS=1
|
ENV NEXT_PRIVATE_WORKERS=1
|
||||||
|
|||||||
Reference in New Issue
Block a user