BlueBrain / morphoclass

Neuronal morphology preparation and classification using Machine Learning.
https://morphoclass.readthedocs.io
Apache License 2.0
8 stars 4 forks source link

Fix CUDA Docker image bug + Improve Dockerfile + Add requirements-extra.txt #62

Closed FrancescoCasalegno closed 2 years ago

FrancescoCasalegno commented 2 years ago

Fixes NVIDIA/nvidia-docker#63

Description

  1. Fix the public key is not available: NO_PUBKEY bug by using the workaround suggested in https://github.com/NVIDIA/nvidia-container-toolkit/issues/257
  2. Remove PIP_INDEX_URL pointing at BBP internal Python index from the Dockerfile (otherwise pip install neurots will look for the wrong package in our index instead of PyPI!)
  3. Introduce requirements-extra.txt to cover the requirements of extras_require.

How to test?

  1. Running docker build should now succeed.
  2. Running pip install .[dev,test] inside the container should install morphoclass and confirm that all dependencies are already there.

Checklist