diff --git a/Dockerfile b/Dockerfile
index 7ce674e5eef8f2708e13f1bd3b27f724ed831fb5..a1e513679e0faeffc3a252c1a171d58defcb1499 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 13e4180608c7a08651bd6df49f9408611087d422..68424df331048526afd6cfd65060b21b44ddcc43 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 95be15748ca05a82f49205db5dc21ad4b555b2a2..f672fe09d064e2aec5abd59bf3c4def0842c0df1 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 />