The open-source CapCut alternative
chore(docker): update Dockerfile to set NODE_ENV to production and ensure telemetry is disabled
ga1az998ee086e5f4
diff --git a/apps/web/Dockerfile b/apps/web/Dockerfileindex 8b13ce38..46eeb102 100644--- a/apps/web/Dockerfile+++ b/apps/web/Dockerfile@@ -19,7 +19,8 @@ COPY apps/web/ apps/web/COPY packages/db/ packages/db/COPY packages/auth/ packages/auth/-ENV NEXT_TELEMETRY_DISABLED=1+ENV NODE_ENV production+ENV NEXT_TELEMETRY_DISABLED 1WORKDIR /app/apps/webRUN bun run build@@ -28,7 +29,8 @@ RUN bun run buildFROM base AS runnerWORKDIR /app-ENV NEXT_TELEMETRY_DISABLED=1+ENV NODE_ENV production+ENV NEXT_TELEMETRY_DISABLED 1RUN addgroup --system --gid 1001 nodejsRUN adduser --system --uid 1001 nextjs