temp database url
This commit is contained in:
parent
042deb0f6c
commit
3fbac8fdf5
1 changed files with 6 additions and 1 deletions
|
|
@ -11,10 +11,15 @@ RUN npm ci
|
||||||
|
|
||||||
# ---------- builder ----------
|
# ---------- builder ----------
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
WORKDIR /app/stripe_to_invoice # 🔥 THIS WAS MISSING
|
WORKDIR /app/stripe_to_invoice
|
||||||
|
|
||||||
COPY --from=deps /app/stripe_to_invoice/node_modules ./node_modules
|
COPY --from=deps /app/stripe_to_invoice/node_modules ./node_modules
|
||||||
COPY stripe_to_invoice .
|
COPY stripe_to_invoice .
|
||||||
|
|
||||||
|
# ✅ Build-time only (safe placeholder)
|
||||||
|
ENV DATABASE_URL="postgres://build:build@localhost:5432/build"
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
RUN node -e "require('typescript')"
|
RUN node -e "require('typescript')"
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue