Skip to content

default.ini file not found while building docker image #194

@Elveera28

Description

@Elveera28

We followed the Docker.md file to build and run "rest_VariantValidator" in Docker.
for the code:
docker-compose build --no-cache rv-vvta rv-vdb rv-seqrepo rest-variantvalidator
we got the following error:
=> ERROR [rest-variantvalidator 10/11] RUN python -m VariantValidator.bin.setup_lovd_syntax_checker 0.4s

[rest-variantvalidator 10/11] RUN python -m VariantValidator.bin.setup_lovd_syntax_checker:
0.372 Traceback (most recent call last):
0.372 File "", line 189, in _run_module_as_main
0.372 File "", line 112, in _get_module_details
0.372 File "/usr/local/lib/python3.11/site-packages/VariantValidator/init.py", line 1, in
0.372 from . import configure
0.372 File "/usr/local/lib/python3.11/site-packages/VariantValidator/configure.py", line 36, in
0.372 shutil.copyfile(os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(file))), 'configuration',
0.372 File "/usr/local/lib/python3.11/shutil.py", line 256, in copyfile
0.372 with open(src, 'rb') as fsrc:
0.372 ^^^^^^^^^^^^^^^
0.372 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.11/site-packages/configuration/default.ini'
0.372 -----------------------------
0.372 | Welcome to VariantValidator |
0.372 -----------------------------


failed to solve: process "/bin/sh -c python -m VariantValidator.bin.setup_lovd_syntax_checker" did not complete successfully: exit code: 1

To solve this, we tried to import the default.ini file from your repo, but couldn't find it. Could you please provide us with a way to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions