Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 369 Bytes

4-docker-guide.md

File metadata and controls

13 lines (9 loc) · 369 Bytes

Running the bot in Docker

Update env file with your credentials

update and rename .env.example to .env

Build docker image

From the root of the project, run this docker build command: docker build -t reddit_karma_bot:latest . --no-cache

Run Docker Image

docker run -d --name=reddit-bot reddit_karma_bot:latest

View Logs

docker logs -f reddit-bot