Some of our users know how to add Python dependencies (or other dependencies alike) to their project by adding them to their "requirements.txt" file .
But in order to get the packages actually installed then it requires them to restart the workspace. Restarting the workspace can be very cumbersome and sometimes can take a while with specially with on-prem version of Domino.
This can be resolved by using a pip command . Just simply add this to your dockerfile.
pip install -r /path/to/requirements.txt
But it would be advisable to add the needed packages via the dockerfile for good measure.
Comments
0 comments
Please sign in to leave a comment.