Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

docker: Preinstall pnpm for the worker job to prevent downloading it on startup. #666

Mohamed Bassemae78ef50b284
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 2d9462db..8fc3997c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -91,7 +91,7 @@ COPY --from=base --chown=node:node /app/apps/web/.next/static ./apps/web/.next/s
# Prepare the workers app
######################
COPY --from=base /prod/workers /app/apps/workers
-RUN corepack enable
+RUN corepack enable && corepack pack
ENTRYPOINT ["/init"]