Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Add backend url before build

Bill Yang4d85915c5bab
diff --git a/client/Dockerfile b/client/Dockerfile
index e0b0a5517..50ac6d083 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -19,6 +19,7 @@ COPY . .
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.
ENV NEXT_TELEMETRY_DISABLED 1
+ENV NEXT_PUBLIC_BACKEND_URL=${NEXT_PUBLIC_BACKEND_URL}
RUN npm run build