From 190e91f0837854321f0953d7664c153c99a24d62 Mon Sep 17 00:00:00 2001 From: Aaron Yarborough <3855819+AaronJY@users.noreply.github.com> Date: Fri, 2 May 2025 23:21:10 +0100 Subject: [PATCH] build: use env vars --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ead669b..ea68e01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,6 +42,9 @@ ENV NODE_ENV=production # Uncomment the following line in case you want to disable telemetry during runtime. ENV NEXT_TELEMETRY_DISABLED=1s +ARG NEXT_PUBLIC_CONTENT_API_BASE_URL +ENV NEXT_PUBLIC_CONTENT_API_BASE_URL=$NEXT_PUBLIC_CONTENT_API_BASE_URL + RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs