From 486e15eb3519b69a1aa6b68a86c7d1fd93eb1648 Mon Sep 17 00:00:00 2001 From: LightQuantum Date: Wed, 12 Jun 2024 05:59:09 +0800 Subject: [PATCH] fix: site name --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a64bd62..3f59671 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,9 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +ARG SITE_NAME +ENV NEXT_PUBLIC_SITE_NAME=$SITE_NAME + # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry # Uncomment the following line in case you want to disable telemetry during the build. @@ -65,4 +68,4 @@ ENV PORT 3000 # server.js is created by next build from the standalone output # https://nextjs.org/docs/pages/api-reference/next-config-js/output -CMD HOSTNAME="0.0.0.0" node server.js \ No newline at end of file +CMD HOSTNAME="0.0.0.0" node server.js