This commit is contained in:
parent
9c8fcd35df
commit
af43a56ef5
10
Dockerfile
10
Dockerfile
@ -9,6 +9,16 @@ RUN npm ci
|
|||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apk add --no-cache openssl
|
RUN apk add --no-cache openssl
|
||||||
|
# NEXT_PUBLIC_* vars are inlined into the client bundle at build time. Pass
|
||||||
|
# them via build args (Coolify: mark them as build variables) or the browser
|
||||||
|
# ClerkProvider / public URLs will be missing.
|
||||||
|
ARG NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
|
||||||
|
ARG NEXT_PUBLIC_CLERK_SIGN_IN_URL
|
||||||
|
ARG NEXT_PUBLIC_CLERK_SIGN_UP_URL
|
||||||
|
ARG NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL
|
||||||
|
ARG NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL
|
||||||
|
ARG NEXT_PUBLIC_APP_URL
|
||||||
|
ARG NEXT_PUBLIC_APP_DOMAIN
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
COPY next.config.ts ./
|
COPY next.config.ts ./
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user