Open-Hands / Dockerfile
Aditya190803's picture
Update Dockerfile
05d0751 verified
raw
history blame contribute delete
528 Bytes
# 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"]