mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Dynamically constructed Dockerfile
This folder builds a runtime image (sandbox), which will use a dynamically generated Dockerfile
that depends on the base_image AND a Python source distribution that is based on the current commit of openhands.
The following command will generate a Dockerfile file for nikolaik/python-nodejs:python3.12-nodejs22 (the default base image), an updated config.sh and the runtime source distribution files/folders into containers/runtime:
poetry run python3 -m openhands.runtime.utils.runtime_build \
--base_image nikolaik/python-nodejs:python3.12-nodejs22 \
--build_folder containers/runtime