mfhepp / py4docker

Template for running Python 3.x shell scripts and notebooks in a Docker container for isolation, security, and portability
MIT License
2 stars 0 forks source link

Split dependencies into script, development, and Jupyter Notebook parts #8

Closed mfhepp closed 9 months ago

mfhepp commented 11 months ago

It would be good if some packages (like black) would only be installed in the development image, but not in the one used for production. Also, adding Jupyter Notebook support (see next issue) will also require additional packages, which may not be needed for every project.

Since the YAML syntax for conda/mamba env files does not support such "optional dependencies", we will likely have to change the syntax to the simple text file form, as also used by pip.

mfhepp commented 9 months ago

Mostly done via #13