Skip to content

Commit

Permalink
Update docker tag and deno version
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Aug 24, 2023
1 parent 415cf47 commit 60d035a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/nois-bot:0.2.0
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/nois-bot:nextgen
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See https://hub.docker.com/r/denoland/deno/tags for available images
FROM denoland/deno:alpine-1.34.3
FROM denoland/deno:alpine-1.36.1

COPY . /opt/drand-bot
WORKDIR /opt/drand-bot
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,23 @@ pm2 restart main && pm2 logs --lines 100
pm2 stop main
```

## Run in docker
## Run in Docker

Make sure you have

- config.json file in your current directory
- Docker installed and running

Run this command
Update to latest version:

```sh
docker run -v $PWD/config.json:/opt/drand-bot/config.json noislabs/nois-bot:0.2.0
docker pull noislabs/nois-bot:nextgen
```

Start:

```sh
docker run \
-v $PWD/config.json:/opt/drand-bot/config.json \
noislabs/nois-bot:nextgen
```

0 comments on commit 60d035a

Please sign in to comment.