Machine Learning UI for Smart Spectral Matching project
| Branch | Build | Coverage |
|---|---|---|
| DEV | ||
| QA | ||
| MAIN |
Some dependencies are stored on private package registries on code.ornl.gov. A personal access token is required in order to install these with Pip.
Create a personal access token on the Preferences > Access Tokens page with read_api or api permissions and save the auto-generated key. This key is only displayed immediately after generating it, so be sure to save it (otherwise a new token will need to be generated).
Install the private registry package, ssm-ml:
pip install ssm-ml --extra-index-url https://<token name>:<generated token>@code.ornl.gov/api/v4/projects/7791/packages/pypi/simple
We need to pass in the credentials for access to the private registry.
Run the following to build the container with the personal access token:
docker login code.ornl.gov:4567
docker build \
--build-arg GITLAB_USERNAME=<token name> \
--build-arg GITLAB_PASSWORD=<generated token> \
-t ssm-ml-ui .