OcDash Deploy commited on
Commit
46f86eb
·
1 Parent(s): 65621bc

feat: initial template setup

Browse files
Files changed (3) hide show
  1. Dockerfile +7 -0
  2. README.md +8 -5
  3. opencode.json +4 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM alpine:latest
2
+ RUN apk add --no-cache libgcc libstdc++ ripgrep bash curl git openssh
3
+ RUN curl -fsSL https://bun.sh/install | bash
4
+ ENV PATH="/root/.bun/bin:$PATH"
5
+ WORKDIR /workspace
6
+ EXPOSE 4096
7
+ CMD ["opencode", "serve", "--port", "4096", "--host", "0.0.0.0"]
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Ocdash Template
3
- emoji: 🦀
4
- colorFrom: yellow
5
- colorTo: green
6
  sdk: docker
 
7
  pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: OcDash Project Template
3
+ emoji:
4
+ colorFrom: indigo
5
+ colorTo: blue
6
  sdk: docker
7
+ app_port: 4096
8
  pinned: false
9
  ---
10
 
11
+ # OcDash Project Template
12
+
13
+ Template for OcDash project spaces. Each project runs a full OpenCode instance.
opencode.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "theme": "oc-2",
3
+ "attention": { "enabled": false }
4
+ }