Skip to content

Commit

Permalink
[fix]: fix config path in docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Balashov <[email protected]>
  • Loading branch information
0x009922 committed May 19, 2023
1 parent 187f9dc commit 7b196f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/kagami/src/swarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ use super::{ClapArgs, Outcome};

const GIT_REVISION: &str = env!("VERGEN_GIT_SHA");
const GIT_ORIGIN: &str = "https://github.com/hyperledger/iroha.git";
/// Config directory that is generated in the output directory
const DIR_CONFIG: &str = "config";
/// Config directory inside of the docker image
const DIR_CONFIG_IN_DOCKER: &str = "/config";
const DIR_CLONE: &str = "iroha-cloned";
const FILE_VALIDATOR: &str = "validator.wasm";
const FILE_CONFIG: &str = "config.json";
Expand Down Expand Up @@ -431,7 +434,7 @@ impl DockerComposeBuilder {
.to_str()
.wrap_err("config directory path is not a valid string")?
.to_owned(),
DIR_CONFIG.to_owned(),
DIR_CONFIG_IN_DOCKER.to_owned(),
)];

let services = peers
Expand Down

0 comments on commit 7b196f9

Please sign in to comment.