diff --git a/.npmrc b/.npmrc index 894b521..f13d23d 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,7 @@ # Use npm for package management engine-strict=true + +# Platform-specific settings to prevent sharp from installing binaries for all architectures +target_platform=linux +target_arch=x64 +target_libc=glibc diff --git a/Dockerfile b/Dockerfile index 68c937f..171e52d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN corepack enable WORKDIR /app -COPY package.json pnpm-lock.yaml ./ +COPY package.json pnpm-lock.yaml .npmrc ./ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \ pnpm install --frozen-lockfile --ignore-scripts diff --git a/server.json b/server.json index 3d50a85..23dbec3 100644 --- a/server.json +++ b/server.json @@ -7,7 +7,7 @@ "url": "https://github.com/browserbase/mcp-server-browserbase", "source": "github" }, - "version": "2.2.0", + "version": "2.4.2", "packages": [ { "registry_type": "npm",