Slackbot
02/01/2023, 9:46 PMJim Rohrer
02/01/2023, 10:02 PMsecret
type mount to pass in a pip.conf file: https://towardsdatascience.com/secure-your-docker-images-with-docker-secrets-f2b92ec398a0Phil D'Amore
02/01/2023, 10:03 PMinstall.sh
to be usefulPhil D'Amore
02/01/2023, 10:03 PMJim Rohrer
02/01/2023, 10:03 PMAaron Pham
02/02/2023, 7:16 AMbentofile.yaml
https://docs.bentoml.org/en/latest/concepts/bento.html#pip-install-options
And for crendentials mounting you probably will need to have a custom docker template that use --mount=type=secret
for best security practice
Note that during containerize you can pass that secret id via --opt
bentoml containerize --opt secret=id=credentials,src=/path/to/cred ...
Phil D'Amore
02/02/2023, 3:48 PM