Skip to content

Commit

Permalink
feat: add dockerfile for silverback docker image (#8)
Browse files Browse the repository at this point in the history
* feat: add dockerfile

* feat: removed chown as it is fixed in next ape dockerfile release

* feat: added entrypoint 'silverback'

* docs: added docker usage documentation

* chore: added empty line at end of Dockerfile

* fix: multiline readme sh command
  • Loading branch information
sabotagebeats authored Jun 19, 2023
1 parent c136d8e commit 3818e48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM apeworx/ape:latest

USER root
RUN pip install silverback
USER harambe

ENTRYPOINT ["silverback"]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ To run your bot against a live network, this SDK includes a simple runner you ca
$ silverback run "example:app" --network :mainnet:alchemy
```

## Docker Usage

```sh
$ docker build -t silverback .
$ docker run --volume $PWD:/home/harambe/project silverback run "example:app" --network :mainnet:alchemy
```

## Development

This project is in development and should be considered a beta.
Expand Down

0 comments on commit 3818e48

Please sign in to comment.