From a5f2921ee728f12ac46c22b12b970252c6a39a8e Mon Sep 17 00:00:00 2001 From: wanwiset25 Date: Thu, 21 Dec 2023 21:35:22 +0400 Subject: [PATCH] fix mount path --- subnet/deployment-generator/src/gen_other.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/subnet/deployment-generator/src/gen_other.js b/subnet/deployment-generator/src/gen_other.js index a332bb0..dc06f53 100644 --- a/subnet/deployment-generator/src/gen_other.js +++ b/subnet/deployment-generator/src/gen_other.js @@ -87,13 +87,11 @@ function genCommands(){ } commands+=`\nmachine1: deploy checkpoint smart contract\n` // - commands+=` cd ..\n` - commands+=` docker run --env-file generated/common.env \\ - -v $(pwd)/generated/:/app/generated/ \\ + commands+=` docker run --env-file common.env \\ + -v $(pwd)/../generated/:/app/config \\ --network host \\ --entrypoint './docker/upgrade_csc.sh' xinfinorg/csc:${config.version.csc}\n` - commands+=` cd generated\n` commands+=`\nmachine1: start services and frontend\n` commands+=` docker compose --env-file docker-compose.env --profile services pull\n` commands+=` docker compose --env-file docker-compose.env --profile services up -d\n`