From 0985961d970acd4f9cc12f2e2056c16dd246dc44 Mon Sep 17 00:00:00 2001 From: Matej Stieranka Date: Tue, 24 Jun 2025 17:08:20 +0200 Subject: [PATCH] fix: add libsql to exclusions --- .npmrc | 2 +- Dockerfile | 2 -- next.config.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.npmrc b/.npmrc index 5330325..c9d4e9b 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -public-hoist-pattern[]=*@libsql* +public-hoist-pattern[]=*libsql* diff --git a/Dockerfile b/Dockerfile index ccacd03..9ee34a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,8 +53,6 @@ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static -COPY --from=builder --chown=nextjs:nodejs /app/data ./data - USER nextjs EXPOSE 3000 diff --git a/next.config.ts b/next.config.ts index 8eea06b..4031807 100644 --- a/next.config.ts +++ b/next.config.ts @@ -3,7 +3,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", outputFileTracingIncludes: { - "*": ["node_modules/@libsql/**/*"], + "*": ["node_modules/@libsql/**/*", "node_modules/libsql/**/*"], }, };