File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
5252COPY gem /gem
53+ COPY mcp /mcp
5354
5455# Install application gems (cwd = /rails)
5556COPY docs/Gemfile docs/Gemfile.lock ./
@@ -78,6 +79,7 @@ FROM base
7879# Copy built artifacts: gems, application, and the gem subtree
7980COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
8081COPY --from=build /gem /gem
82+ COPY --from=build /mcp /mcp
8183COPY --from=build /rails /rails
8284
8385# Run and own only the runtime files as a non-root user for security
You can’t perform that action at this time.
0 commit comments