From 1791bc56f351d01127e208da5401dea247471146 Mon Sep 17 00:00:00 2001 From: Meyanis95 Date: Mon, 23 Sep 2024 10:03:09 -0400 Subject: [PATCH] fix: added env to dockerfile --- client/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/Dockerfile b/client/Dockerfile index 059435a..ee7a415 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -4,7 +4,9 @@ RUN apt-get update ; apt-get install -y netcat-openbsd WORKDIR /app ARG NEXT_PUBLIC_ISSUER_URL +ARG NEXT_PUBLIC_NULLIFIER_SEED RUN echo "NEXT_PUBLIC_ISSUER_URL: $NEXT_PUBLIC_ISSUER_URL" +RUN echo "NEXT_PUBLIC_NULLIFIER_SEED: $NEXT_PUBLIC_NULLIFIER_SEED" COPY package*.json ./ @@ -12,6 +14,6 @@ RUN npm install COPY . . -RUN NEXT_PUBLIC_ISSUER_URL=$NEXT_PUBLIC_ISSUER_URL npm run build +RUN NEXT_PUBLIC_ISSUER_URL=$NEXT_PUBLIC_ISSUER_URL NEXT_PUBLIC_NULLIFIER_SEED=$NEXT_PUBLIC_NULLIFIER_SEED npm run build CMD ["npm", "start"]