Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Added NODE_OPTIONS environment variable.

Mike Cao50f8ff500b31
diff --git a/Dockerfile b/Dockerfile
index c2fa9c268..49ef8b475 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,8 +29,11 @@ RUN yarn build-docker
FROM node:18-alpine AS runner
WORKDIR /app
+ARG NODE_OPTIONS
+
ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1
+ENV NODE_OPTIONS $NODE_OPTIONS
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs