Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(dockerfile): Temporarily resolve corepack issue

Thomas Kosmas73d19aa01b2c
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index 601bf3b4e..af86e904e 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -2,6 +2,10 @@ FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
LABEL fly_launch_runtime="Node.js"
+
+#temp solution to https://github.com/nodejs/corepack/issues/612
+RUN npm i -g corepack@latest
+
RUN corepack enable
COPY . /app
WORKDIR /app