kopia lustrzana https://github.com/jupyterhub/repo2docker
Add review comment from @betatim
rodzic
82ebd618fa
commit
83c1563c97
|
@ -29,9 +29,10 @@ The solution
|
||||||
Export your explicit install commands
|
Export your explicit install commands
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
If you only want to have an ``environment.yml`` that reflects the
|
To get a minimal ``environment.yml`` that only contains the packages you
|
||||||
``conda install`` you have run to build your conda environment, you can use
|
explicitly installed run
|
||||||
``conda env export --from-history environment.yml``. The resulting
|
``conda env export --from-history -f environment.yml``. We recommend that you
|
||||||
|
use this option to create your ``environment.yml``. The resulting
|
||||||
``environment.yml`` then contains a loose pinning of the versions used, e.g.
|
``environment.yml`` then contains a loose pinning of the versions used, e.g.
|
||||||
``pandas=0.25`` if you explicitly requested this ``pandas`` version on
|
``pandas=0.25`` if you explicitly requested this ``pandas`` version on
|
||||||
installation. If you didn't list a version constraint during installation, it
|
installation. If you didn't list a version constraint during installation, it
|
||||||
|
|
Ładowanie…
Reference in New Issue