Spaces:
Sleeping
Sleeping
change openhands
Browse files- Dockerfile +14 -0
- README.md +10 -5
Dockerfile
CHANGED
|
@@ -1,5 +1,19 @@
|
|
| 1 |
FROM ghcr.io/openhands/agent-canvas:latest
|
| 2 |
|
|
|
|
| 3 |
ENV PORT=7860
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
EXPOSE 7860
|
|
|
|
| 1 |
FROM ghcr.io/openhands/agent-canvas:latest
|
| 2 |
|
| 3 |
+
# Hugging Face Space public port
|
| 4 |
ENV PORT=7860
|
| 5 |
|
| 6 |
+
# Create the workspace directory mentioned in the startup warning.
|
| 7 |
+
# We deliberately do NOT override ENTRYPOINT or CMD because the
|
| 8 |
+
# agent-canvas image starts the Agent Server, Automation Server,
|
| 9 |
+
# frontend and proxy itself.
|
| 10 |
+
USER root
|
| 11 |
+
|
| 12 |
+
RUN mkdir -p \
|
| 13 |
+
/home/openhands/.openhands/workspaces/automation-runs \
|
| 14 |
+
/projects
|
| 15 |
+
|
| 16 |
+
# Return to the image's default runtime behavior.
|
| 17 |
+
# ENTRYPOINT and CMD are inherited from the official image.
|
| 18 |
+
|
| 19 |
EXPOSE 7860
|
README.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
app_port: 7860
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: OpenHands Agent
|
| 3 |
+
emoji: 🤖
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# OpenHands Agent Canvas
|
| 12 |
+
|
| 13 |
+
OpenHands Agent Canvas running on Hugging Face Spaces.
|