Skip to content

Commit 6ffab76

Browse files
fix: substrate-contracts-node container is working
Signed-off-by: CatarinaPedreira <catarina.pedreira@tecnico.ulisboa.pt>
1 parent 13714a2 commit 6ffab76

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/docker/substrate-all-in-one/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ RUN echo "*** Installing Substrate node environment ***"
3535
RUN cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git --force --locked
3636

3737
RUN echo "*** Start Substrate node template ***"
38-
CMD substrate-contracts-node --dev
38+
CMD [ "/var/www/node-template/.cargo/bin/substrate-contracts-node", "--dev"]

tools/docker/substrate-all-in-one/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This image can be used for development of Substrate-based chains (including but
1010

1111
## Usage
1212
```sh
13-
docker-compose -f tools/docker/substrate-all-in-one/docker-compose.yaml up
13+
docker run -t -p 9944:9944 --name substrate-contracts-node hyperledger/substrate-all-in-one:latest
1414
```
1515

1616
## Build

0 commit comments

Comments
 (0)