Spaces:
Runtime error
Runtime error
OcDash Deploy commited on
Commit ·
ccea58a
1
Parent(s): 46f86eb
fix: install opencode binary
Browse files- Dockerfile +2 -2
- README.md +0 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM alpine:latest
|
| 2 |
RUN apk add --no-cache libgcc libstdc++ ripgrep bash curl git openssh
|
| 3 |
-
RUN curl -fsSL https://
|
| 4 |
-
ENV PATH="/root/.
|
| 5 |
WORKDIR /workspace
|
| 6 |
EXPOSE 4096
|
| 7 |
CMD ["opencode", "serve", "--port", "4096", "--host", "0.0.0.0"]
|
|
|
|
| 1 |
FROM alpine:latest
|
| 2 |
RUN apk add --no-cache libgcc libstdc++ ripgrep bash curl git openssh
|
| 3 |
+
RUN curl -fsSL https://opencode.ai/install | bash
|
| 4 |
+
ENV PATH="/root/.opencode/bin:$PATH"
|
| 5 |
WORKDIR /workspace
|
| 6 |
EXPOSE 4096
|
| 7 |
CMD ["opencode", "serve", "--port", "4096", "--host", "0.0.0.0"]
|
README.md
CHANGED
|
@@ -9,5 +9,3 @@ pinned: false
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# OcDash Project Template
|
| 12 |
-
|
| 13 |
-
Template for OcDash project spaces. Each project runs a full OpenCode instance.
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# OcDash Project Template
|
|
|
|
|
|