diff --git a/Dockerfile b/Dockerfile index 9d6f84a4..bf595f5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,4 +25,4 @@ COPY . . RUN python -m multiversx_sdk_cli.cli localnet setup --configfile=/usr/src/app/multiversx_sdk_cli/tests/testdata/localnet_with_resolution_remote.toml # Step 10: Specify the entrypoint to run the application -ENTRYPOINT ["python", "-m", "multiversx_sdk_cli.cli"] \ No newline at end of file +CMD ["python", "-m", "multiversx_sdk_cli.cli"] \ No newline at end of file diff --git a/multiversx_sdk_cli/tests/test_cli_validators.py b/multiversx_sdk_cli/tests/test_cli_validators.py index 8a01ae41..eeccb028 100644 --- a/multiversx_sdk_cli/tests/test_cli_validators.py +++ b/multiversx_sdk_cli/tests/test_cli_validators.py @@ -46,7 +46,7 @@ def poll_endpoint(): @pytest.mark.require_localnet def test_stake(poll_endpoint): - validators_json = testdata_path / "validators.json" + validators_json = testdata_path / "validators_docker.json" # Stake with recall nonce return_code = main([ diff --git a/multiversx_sdk_cli/tests/testdata/validators_docker.json b/multiversx_sdk_cli/tests/testdata/validators_docker.json new file mode 100644 index 00000000..edf4f998 --- /dev/null +++ b/multiversx_sdk_cli/tests/testdata/validators_docker.json @@ -0,0 +1,13 @@ +{ + "validators": [ + { + "pemFile": "/usr/src/app/localnet/validator00/config/walletKey.pem" + }, + { + "pemFile": "/usr/src/app/localnet/validator00/config/walletKey.pem" + }, + { + "pemFile": "/usr/src/app/localnet/validator00/config/walletKey.pem" + } + ] +}