Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

stubs fix for the frontend docker (#1746)

Mike Fortman63e03bd4c741
diff --git a/Dockerfile.frontend b/Dockerfile.frontend
index 1483dfb0a..f389c9512 100644
--- a/Dockerfile.frontend
+++ b/Dockerfile.frontend
@@ -9,6 +9,9 @@ USER node
# Copy frontend dependencies
COPY --chown=node:node frontend/package*.json ./
+# Copy local stub packages referenced via file: in package.json (e.g. sharp stub
+# that keeps LGPL libvips binaries out of the tree). npm ci needs these present.
+COPY --chown=node:node frontend/stubs ./stubs
RUN npm ci
# Copy frontend source