Skip to content

Commit ef57d6f

Browse files
committed
[Bug Fix] COPY mcp/ in docs Dockerfile for ruby_ui-mcp path dep
1 parent 73091a2 commit ef57d6f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz
4848
npm install -g pnpm@$PNPM_VERSION && \
4949
rm -rf /tmp/node-build-master
5050

51-
# Copy the gem first so docs/Gemfile's `path: "../gem"` resolves during bundle install.
51+
# Copy the gem and mcp sources first so docs/Gemfile's path: "../gem" / "../mcp" resolve during bundle install.
5252
COPY gem /gem
53+
COPY mcp /mcp
5354

5455
# Install application gems (cwd = /rails)
5556
COPY docs/Gemfile docs/Gemfile.lock ./
@@ -78,6 +79,7 @@ FROM base
7879
# Copy built artifacts: gems, application, and the gem subtree
7980
COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
8081
COPY --from=build /gem /gem
82+
COPY --from=build /mcp /mcp
8183
COPY --from=build /rails /rails
8284

8385
# Run and own only the runtime files as a non-root user for security

0 commit comments

Comments
 (0)