Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
765be03
1
Parent(s):
564993f
More instructions for docker
Browse files
README.md
CHANGED
@@ -84,7 +84,7 @@ conda install -c conda-forge pysr
|
|
84 |
```
|
85 |
|
86 |
|
87 |
-
###
|
88 |
|
89 |
You can also use the `Dockerfile` to install PySR in a docker container
|
90 |
|
@@ -314,9 +314,14 @@ docker build -t pysr .
|
|
314 |
```
|
315 |
|
316 |
This builds an image called `pysr` for your system's architecture,
|
317 |
-
which also contains IPython.
|
|
|
|
|
|
|
|
|
|
|
318 |
|
319 |
-
You can then run this
|
320 |
|
321 |
```bash
|
322 |
docker run -it --rm -v "$PWD:/data" pysr ipython
|
|
|
84 |
```
|
85 |
|
86 |
|
87 |
+
### Dockerfile
|
88 |
|
89 |
You can also use the `Dockerfile` to install PySR in a docker container
|
90 |
|
|
|
314 |
```
|
315 |
|
316 |
This builds an image called `pysr` for your system's architecture,
|
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 |
+
```
|
323 |
|
324 |
+
You can then run with this dockerfile using:
|
325 |
|
326 |
```bash
|
327 |
docker run -it --rm -v "$PWD:/data" pysr ipython
|