From 0cf0e8de3ff52000dc796c1981485797f4a4a9cb Mon Sep 17 00:00:00 2001
From: Leonardo <leomilho@gmail.com>
Date: Tue, 8 Oct 2024 10:57:34 +0200
Subject: [PATCH] chore: upgrade docker node space size

---
 Dockerfile                                              | 2 +-
 apps/web/src/app/app.stories.tsx                        | 2 +-
 libs/shared/lib/components/charts/Axis/axis.stories.tsx | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 7ce674e5e..a1e513679 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,7 @@ COPY apps /app/apps
 COPY libs /app/libs
 COPY --from=install /app /app
 # Fixes: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
-ENV NODE_OPTIONS="--max-old-space-size=4096"
+ENV NODE_OPTIONS="--max-old-space-size=8192"
 RUN pnpm run build
 
 
diff --git a/apps/web/src/app/app.stories.tsx b/apps/web/src/app/app.stories.tsx
index 13e418060..68424df33 100644
--- a/apps/web/src/app/app.stories.tsx
+++ b/apps/web/src/app/app.stories.tsx
@@ -10,7 +10,7 @@ export default {
   title: 'App',
   decorators: [
     // using the real store here
-    (story) => (
+    (story: any) => (
       <Provider store={store}>
         <Router>
           <Routes>
diff --git a/libs/shared/lib/components/charts/Axis/axis.stories.tsx b/libs/shared/lib/components/charts/Axis/axis.stories.tsx
index 95be15748..f672fe09d 100644
--- a/libs/shared/lib/components/charts/Axis/axis.stories.tsx
+++ b/libs/shared/lib/components/charts/Axis/axis.stories.tsx
@@ -8,7 +8,7 @@ export default {
   title: 'Visual charts/Charts/Axis',
   component: AxisComponent,
   decorators: [
-    (Story) => (
+    (Story: any) => (
       <div className="w-full h-full flex flex-row justify-center flex-grow">
         <svg className="border border-secondary-300" width="300" height="200">
           <Story />
-- 
GitLab