docker file fix
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
dimitar 2026-08-03 18:38:16 +02:00
parent 9c8fcd35df
commit af43a56ef5

View File

@ -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 ./