Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +18 -0
Dockerfile
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use the openhands image as the base image
|
2 |
+
FROM docker.all-hands.dev/all-hands-ai/openhands:0.24
|
3 |
+
|
4 |
+
# Set the required environment variables
|
5 |
+
ENV SANDBOX_RUNTIME_CONTAINER_IMAGE="docker.all-hands.dev/all-hands-ai/runtime:0.24-nikolaik"
|
6 |
+
ENV LOG_ALL_EVENTS=true
|
7 |
+
|
8 |
+
# Expose the port that the application listens on
|
9 |
+
EXPOSE 3000
|
10 |
+
|
11 |
+
# If your image already has an entrypoint or CMD that starts the app,
|
12 |
+
# you may not need to specify one here.
|
13 |
+
# Otherwise, add the command to launch your application. For example:
|
14 |
+
# CMD ["/start.sh"]
|
15 |
+
|
16 |
+
# (Optional) If your application writes state to ~/.openhands-state,
|
17 |
+
# consider mapping that to a persistent directory available in Spaces,
|
18 |
+
# such as /workspace/state, and update your app accordingly.
|