Skip to content

Commit 4deeb4d

Browse files
committed
fix(showcase): restore shell build by copying shell-docs content into scan dir
The shell build ran generate-search-index.ts against shell-docs/src/content but the Dockerfile never copied that directory into the build context, so the script failed loudly and the whole shell build aborted. Also drop the runner-stage COPY of shell/src/content — that path was left over from the pre-split layout and never existed under the current tree.
1 parent 8e6991c commit 4deeb4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

showcase/shell/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ COPY showcase/shared/ ./shared/
1515
COPY showcase/packages/ ./packages/
1616
COPY showcase/scripts/ ./scripts/
1717
COPY showcase/shell/ ./shell/
18+
COPY showcase/shell-docs/src/content/ ./shell-docs/src/content/
1819

1920
# Bake commit info into Next.js build
2021
ENV NEXT_PUBLIC_COMMIT_SHA=${COMMIT_SHA}
@@ -37,7 +38,6 @@ COPY --from=builder /app/shell/.next ./.next
3738
COPY --from=builder /app/shell/node_modules ./node_modules
3839
COPY --from=builder /app/shell/package.json ./
3940
COPY --from=builder /app/shell/public ./public
40-
COPY --from=builder /app/shell/src/content ./src/content
4141

4242
EXPOSE 10000
4343
CMD ["npx", "next", "start", "-p", "10000"]

0 commit comments

Comments
 (0)