Spaces:
Runtime error
Runtime error
File size: 528 Bytes
1047e14 77b795e 1047e14 77b795e 05d0751 77b795e 1047e14 77b795e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Use the openhands image as the base image
FROM docker.all-hands.dev/all-hands-ai/openhands:0.24
# Set environment variables
ENV SANDBOX_RUNTIME_CONTAINER_IMAGE="docker.all-hands.dev/all-hands-ai/runtime:0.24-nikolaik"
ENV LOG_ALL_EVENTS=true
# Ensure the entrypoint script has execute permissions
RUN chmod +x /app/entrypoint.sh
# Switch to root user (required by OpenHands)
USER root
# Expose the port that the application listens on
EXPOSE 3000
# Run the entrypoint script
CMD ["/bin/bash", "-c", "/app/entrypoint.sh"]
|