Skip to content

Commit

Permalink
Update docker run docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dastansam committed Apr 8, 2024
1 parent 89034a9 commit fd7bfc5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,17 @@ Docker:
# Ready to use docker image
docker run -it -p 9944:9944 kingleard/iso8583-chain --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker

# Build docker image
# Build docker image MacOS (M1)
docker build --platform linux/x86_64 -t iso8583-chain .

# Build docker image Linux
docker build -t iso8583-chain .

# Run docker image
docker run -it -p 9944:9944 iso8583-chain --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker
# Run docker image MacOS (M1)
docker run --platform=linux/x86_64 -it -p 9944:9944 iso8583-chain:latest --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker

# Run docker image Linux
docker run -it -p 9944:9944 iso8583-chain:latest --dev --tmp --unsafe-rpc-external --rpc-cors=all --rpc-methods=unsafe -loffchain-worker
```

### Offchain Worker
Expand Down

0 comments on commit fd7bfc5

Please sign in to comment.