fix mcp and admin api
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user