diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..5330325 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +public-hoist-pattern[]=*@libsql* diff --git a/Dockerfile b/Dockerfile index 1df7ecb..ccacd03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ WORKDIR /app ENV NODE_ENV=production # Uncomment the following line in case you want to disable telemetry during runtime. -# ENV NEXT_TELEMETRY_DISABLED=1 +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs diff --git a/next.config.ts b/next.config.ts index 398b0d5..8eea06b 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,9 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", + outputFileTracingIncludes: { + "*": ["node_modules/@libsql/**/*"], + }, }; export default nextConfig;