You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Based on [`micromamba-docker`](https://github.com/mamba-org/micromamba-docker) a
20
20
- Adding new kernel capabilities is blocked
21
21
-**Development mode,** in which the local version of the Python code can be run inside the container
22
22
-**Jupyter Notebook / JupyterLab**: You can also run Jupyter Notebook and JupyterLab inside the isolated container.
23
+
-**Reproducible:**`build.sh` writes a YAML specification including versions for all `conda` and `pip` components, which can be used to reproduce a Python environment.
23
24
24
25
## Installation
25
26
@@ -174,6 +175,15 @@ This can be done with the `-f` (for _force_) option:
174
175
175
176
Note that this may change the installed versions of Python packages. There is currently no mechanism for pinning the installed versions.
176
177
178
+
### Building from pinned versions
179
+
180
+
You can build a Docker image from the `*.yaml.lock` files, which contain the pinned versions of all `conda` and `pip` dependencies with the option `-l`, like so
181
+
182
+
```bash
183
+
./build.sh -l
184
+
./build.sh -nl dataviz
185
+
```
186
+
177
187
## Running the Script with `run_script.sh`
178
188
179
189
This script starts the code in `main.py` inside a Docker container.
0 commit comments