Better Docker support #277

Merged
blacklight merged 66 commits from 276/better-docker into master 2023-09-04 02:49:15 +02:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit b10ccdb313 - Show all commits

View File

@ -646,4 +646,13 @@ def get_remaining_timeout(
return cls(max(0, timeout - (time.time() - start)))
def get_src_root() -> str:
"""
:return: The root source folder of the application.
"""
import platypush
return os.path.dirname(inspect.getfile(platypush))
# vim:sw=4:ts=4:et: