Docker run bash. Bash script в dockerfile. nodemon install. запустить скрипт bash. node js вызов функции из другого файла.