Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

Fix missing pnpm

Matt Kilgore4b9bf95f2061
diff --git a/Dockerfile.rootless b/Dockerfile.rootless
index 68b4123d..53452dba 100644
--- a/Dockerfile.rootless
+++ b/Dockerfile.rootless
@@ -15,6 +15,9 @@ RUN pnpm install --frozen-lockfile --shamefully-hoist
FROM public.ecr.aws/docker/library/node:18-alpine AS frontend-builder
WORKDIR /app
+# Install pnpm globally
+RUN npm install -g pnpm
+
# Copy frontend and install node_modules from previous stage
COPY frontend ./
COPY --from=frontend-dependencies /app/node_modules ./node_modules