From 09581f3cc2b2bf1052851141feac5de7c4a401d8 Mon Sep 17 00:00:00 2001 From: bkellam Date: Mon, 17 Nov 2025 18:53:21 -0800 Subject: [PATCH] update Dockerfile with query langauge package --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index eb352435..8ece7112 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,10 +43,12 @@ COPY .yarn ./.yarn COPY ./packages/db ./packages/db COPY ./packages/schemas ./packages/schemas COPY ./packages/shared ./packages/shared +COPY ./packages/queryLanguage ./packages/queryLanguage RUN yarn workspace @sourcebot/db install RUN yarn workspace @sourcebot/schemas install RUN yarn workspace @sourcebot/shared install +RUN yarn workspace @sourcebot/query-language install # ------------------------------------ # ------ Build Web ------ @@ -92,6 +94,7 @@ COPY --from=shared-libs-builder /app/node_modules ./node_modules COPY --from=shared-libs-builder /app/packages/db ./packages/db COPY --from=shared-libs-builder /app/packages/schemas ./packages/schemas COPY --from=shared-libs-builder /app/packages/shared ./packages/shared +COPY --from=shared-libs-builder /app/packages/queryLanguage ./packages/queryLanguage # Fixes arm64 timeouts RUN yarn workspace @sourcebot/web install @@ -130,6 +133,7 @@ COPY --from=shared-libs-builder /app/node_modules ./node_modules COPY --from=shared-libs-builder /app/packages/db ./packages/db COPY --from=shared-libs-builder /app/packages/schemas ./packages/schemas COPY --from=shared-libs-builder /app/packages/shared ./packages/shared +COPY --from=shared-libs-builder /app/packages/queryLanguage ./packages/queryLanguage RUN yarn workspace @sourcebot/backend install RUN yarn workspace @sourcebot/backend build @@ -232,6 +236,7 @@ COPY --from=shared-libs-builder /app/node_modules ./node_modules COPY --from=shared-libs-builder /app/packages/db ./packages/db COPY --from=shared-libs-builder /app/packages/schemas ./packages/schemas COPY --from=shared-libs-builder /app/packages/shared ./packages/shared +COPY --from=shared-libs-builder /app/packages/queryLanguage ./packages/queryLanguage # Fixes git "dubious ownership" issues when the volume is mounted with different permissions to the container. RUN git config --global safe.directory "*"