Skip to content

Commit 765be03

Browse files
authored
More instructions for docker
1 parent 564993f commit 765be03

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ conda install -c conda-forge pysr
8484
```
8585

8686

87-
### Docker
87+
### Dockerfile
8888

8989
You can also use the `Dockerfile` to install PySR in a docker container
9090

@@ -314,9 +314,14 @@ docker build -t pysr .
314314
```
315315

316316
This builds an image called `pysr` for your system's architecture,
317-
which also contains IPython.
317+
which also contains IPython. You can select a specific version
318+
of Python and Julia with:
319+
320+
```bash
321+
docker build -t pysr --build-arg JLVERSION=1.10.0 --build-arg PYVERSION=3.11.6 .
322+
```
318323

319-
You can then run this with:
324+
You can then run with this dockerfile using:
320325

321326
```bash
322327
docker run -it --rm -v "$PWD:/data" pysr ipython

0 commit comments

Comments
 (0)