Skip to content

Commit

Permalink
fix mount path
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Dec 21, 2023
1 parent 2041ef3 commit a5f2921
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions subnet/deployment-generator/src/gen_other.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit a5f2921

Please sign in to comment.