fix mcp and admin api

This commit is contained in:
southseact-3d
2026-02-20 18:40:54 +00:00
parent dfc4a0d2a9
commit 9bc9ca3ce8
9 changed files with 2618 additions and 0 deletions

View File

@@ -126,6 +126,16 @@ RUN cd /opt/webchat && npm install --production && chmod -R 755 /opt/webchat
COPY chat_v2 /opt/webchat_v2
RUN chmod -R 755 /opt/webchat_v2
# Copy MCP servers for WordPress validation
COPY opencode/mcp-servers /opt/opencode/mcp-servers
RUN cd /opt/opencode/mcp-servers/wp-cli-testing && npm install --production && \
cd /opt/opencode/mcp-servers/wordpress-validator && npm install --production && \
chmod -R 755 /opt/opencode/mcp-servers
# Copy validation script
COPY scripts/validate-wordpress-plugin.sh /opt/scripts/validate-wordpress-plugin.sh
RUN chmod +x /opt/scripts/validate-wordpress-plugin.sh
# Create data directories
RUN mkdir -p /home/web/data \
&& mkdir -p /var/log/shopify-ai \