Configure opencode provider in Docker ready container

Add provider config for opencode using 'opencode run' command.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rob 2026-01-18 05:09:09 -04:00
parent cb6a8df79b
commit 317dd6b3b6
1 changed files with 3 additions and 0 deletions

View File

@ -107,6 +107,9 @@ RUN /home/user/.cmdforge-venv/bin/python /home/user/CmdForge/examples/install.py
# Generate CLI wrappers
RUN /home/user/.cmdforge-venv/bin/cmdforge refresh
# Configure opencode as a provider (installed globally via npm)
RUN /home/user/.cmdforge-venv/bin/cmdforge providers add opencode "/usr/local/bin/opencode run" --description "OpenCode AI coding assistant"
# Welcome message
RUN echo '\n\
echo ""\n\