Update deploy with next vars
This commit is contained in:
@@ -4,6 +4,17 @@ WORKDIR /app
|
||||
COPY package.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
|
||||
# Build-time public vars — baked into the Next.js bundle by the CI workflow
|
||||
ARG NEXT_PUBLIC_C2_URL
|
||||
ARG NEXT_PUBLIC_FIREBASE_API_KEY
|
||||
ARG NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN
|
||||
ARG NEXT_PUBLIC_FIREBASE_PROJECT_ID
|
||||
ARG NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET
|
||||
ARG NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID
|
||||
ARG NEXT_PUBLIC_FIREBASE_APP_ID
|
||||
ARG NEXT_PUBLIC_FIRESTORE_DATABASE
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM node:20-slim AS runner
|
||||
|
||||
Reference in New Issue
Block a user