Skip to content

Commit 917250b

Browse files
committed
ignore: add docker installation option to console interface so users can run opencode via docker container
1 parent 8969582 commit 917250b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/console/app/src/routes/index.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ export default function Home() {
9999
<Tabs.Trigger value="paru" data-slot="tab">
100100
paru
101101
</Tabs.Trigger>
102+
<Tabs.Trigger value="docker" data-slot="tab">
103+
docker
104+
</Tabs.Trigger>
102105
<Tabs.Indicator />
103106
</Tabs.List>
104107
<div data-slot="panels">
@@ -149,6 +152,15 @@ export default function Home() {
149152
<CopyStatus />
150153
</button>
151154
</Tabs.Content>
155+
<Tabs.Content as="pre" data-slot="panel" value="docker">
156+
<button data-copy data-slot="command" onClick={handleCopyClick}>
157+
<span>
158+
<span data-slot="protocol">docker run -it --rm </span>
159+
<span data-slot="highlight">ghcr.io/sst/opencode</span>
160+
</span>
161+
<CopyStatus />
162+
</button>
163+
</Tabs.Content>
152164
</div>
153165
</Tabs>
154166
</div>

0 commit comments

Comments
 (0)