From 2dc45552fefa4fa098546bd21924212534a147f3 Mon Sep 17 00:00:00 2001 From: David Inga Date: Tue, 5 Dec 2023 16:39:02 +0100 Subject: [PATCH] adding base path in dockerfile 2 --- client/Dockerfile.prod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Dockerfile.prod b/client/Dockerfile.prod index 754a1c8..5669f46 100644 --- a/client/Dockerfile.prod +++ b/client/Dockerfile.prod @@ -7,7 +7,6 @@ RUN apt-get update -y && \ ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1 ARG basePath="/impact-sphere" -RUN echo "Base path: $basePath" ENV NEXT_PUBLIC_BASE_PATH $basePath WORKDIR /app @@ -25,6 +24,7 @@ RUN yarn build # Copy only the built files into the final image FROM node:18.15.0-bullseye-slim AS runner ENV NODE_ENV production +ARG basePath="/impact-sphere" ENV NEXT_TELEMETRY_DISABLED 1 ENV NEXT_PUBLIC_BASE_PATH $basePath