Customize the Tryton Container

Hi Ced,
I managed to restore the database, I created a custom image (Tryton 4.8) by transferring my custom modules (I used the COPY method in the dockerfile).
I have questions:

  • I copied the custom modules in the path:
    /usr/local/lib/python3.5/dist-packages/trytond/modules
    it’s correct?

When I setup the database I get this error:

Traceback (most recent call last):
File “/ usr / local / bin / trytond-admin”, line 14, in
import trytond.admin as admin
File “/usr/local/lib/python3.5/dist-packages/trytond/admin.py”, line 12, in
from trytond.pool import Pool
File “/usr/local/lib/python3.5/dist-packages/trytond/pool.py”, line 6, in
from trytond.modules import load_modules, register_classes
File “/usr/local/lib/python3.5/dist-packages/trytond/modules/init.py”, line 10, in
import ConfigParser
ImportError: No module named ‘ConfigParser’

Why?