Resolve build errors
This commit is contained in:
+3
-3
@@ -2,9 +2,9 @@
|
||||
FROM node:24-slim AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Placeholder values ONLY so `vite build` doesn't crash on $env/static/*
|
||||
# imports during the build step. These are NOT the real runtime values —
|
||||
# App Platform injects the real ones as env vars when the container runs.
|
||||
# Placeholder values for build-time $env/static/* and better-auth's module-scope
|
||||
# secret validation. These are NOT the real runtime values — App Platform
|
||||
# injects the real ones as env vars when the container runs.
|
||||
ARG DATABASE_URL=postgres://placeholder:placeholder@localhost:5432/placeholder
|
||||
ARG ORIGIN=http://localhost:3000
|
||||
ARG BETTER_AUTH_URL=http://localhost:3000
|
||||
|
||||
Reference in New Issue
Block a user