Skip to content

Commit e75b192

Browse files
committed
Docker mentioned in README
1 parent cf3386a commit e75b192

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ OpenEvolve follows an evolutionary approach with the following components:
2727

2828
### Installation
2929

30+
To install natively, use:
3031
```bash
3132
git clone https://github.com/codelion/openevolve.git
3233
cd openevolve
@@ -60,6 +61,14 @@ OpenEvolve can also be run from the command line:
6061
python openevolve-run.py path/to/initial_program.py path/to/evaluator.py --config path/to/config.yaml --iterations 1000
6162
```
6263

64+
### Docker
65+
66+
You can also install and execute via Docker:
67+
```bash
68+
docker build -t openevolve .
69+
docker run --rm -v .:/app openevolve examples/function_minimization/initial_program.py examples/function_minimization/evaluator.py --config examples/function_minimization/config.yaml --iterations 1000
70+
```
71+
6372
## Configuration
6473

6574
OpenEvolve is highly configurable. You can specify configuration options in a YAML file:

0 commit comments

Comments
 (0)