Open-Hands / Dockerfile
Aditya190803's picture
Create Dockerfile
1047e14 verified
raw
history blame
724 Bytes
# Use the openhands image as the base image
FROM docker.all-hands.dev/all-hands-ai/openhands:0.24
# Set the required environment variables
ENV SANDBOX_RUNTIME_CONTAINER_IMAGE="docker.all-hands.dev/all-hands-ai/runtime:0.24-nikolaik"
ENV LOG_ALL_EVENTS=true
# Expose the port that the application listens on
EXPOSE 3000
# If your image already has an entrypoint or CMD that starts the app,
# you may not need to specify one here.
# Otherwise, add the command to launch your application. For example:
# CMD ["/start.sh"]
# (Optional) If your application writes state to ~/.openhands-state,
# consider mapping that to a persistent directory available in Spaces,
# such as /workspace/state, and update your app accordingly.