From 6c3faf2a3e199a5280351d60698734e8d7a2377c Mon Sep 17 00:00:00 2001 From: Dehemi Weerakkody <39078645+stargazer39@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:13:11 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 673e90b..be0d820 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,17 @@ FROM node:20-alpine AS base ### Dependencies ### FROM base AS deps RUN apk add --no-cache libc6-compat git - - +# Define build arguments + +ARG NEXT_PUBLIC_FIREBASE_API_KEY +ARG NEXT_PUBLIC_AUTH_DOMAIN +ARG NEXT_PUBLIC_PROJECT_ID +ARG NEXT_PUBLIC_STORAGE_BUCKET +ARG NEXT_PUBLIC_MESSAGING_SENDER_ID +ARG NEXT_PUBLIC_APP_ID +ARG NEXT_PUBLIC_MEASUREMENT_ID +ARG NEXT_PUBLIC_FIREBASE_COLLECTION_PREFIX +ARG NEXT_PUBLIC_EMAIL_ENDPOINT # Setup pnpm environment ENV PNPM_HOME="/pnpm"