Skip to content

Commit

Permalink
CHORE: UPDATE THE DOCKER FILE
Browse files Browse the repository at this point in the history
SEE? LOUDIE CAN FOLLOW THE CONVENTIONAL COMMIT PATTERN.
  • Loading branch information
ceejbot committed Apr 26, 2020
1 parent 59c42a6 commit 9272d43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ LABEL maintainer="C J Silverio <[email protected]>"
ARG redis_url=redis://127.0.0.1:6379
ARG slack_token=0xdeadbeef
ARG welcome
ARG tucker_chance=2

ENV REDIS_URL=$redis_url
ENV SLACK_TOKEN=$slack_token
ENV WELCOME_CHANNEL=$welcome
ENV TUCKER_CHANCE=$tucker_chance

RUN apk add --no-cache bash libc6-compat
WORKDIR /loudbot
ADD ./releases/alpine_release_x64.tar.gz .
ADD ./releases/unknown-linux-musl.tar.gz .

CMD ["/loudbot/LOUDBOT"]
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LOUDCRAB

CRABS ARE VERY LOUD ANIMALS. NO, REALLY. THEY SCUTTLE AT TOP VOLUME!
CRABS ARE VERY LOUD ANIMALS. NO, REALLY. THEY SCUTTLE AT TOP VOLUME.

LOUDBOT IS A SLACK BOT THAT SHOUTS AT YOU IF YOU SHOUT. IT ALSO RESPONDS TO SOME OTHER PROMPTS BUT IT WOULD SPOIL THE FUN TO DOCUMENT THEM. SHOUTING IS CATHARTIC. CEEJBOT ENJOYS WRITING LOUDBOT IN MANY PROGRAMMING LANGUAGES. IT'S A GOOD WAY TO LEARN TO USE LIBRARIES LIKE THE LOCAL REDIS LIBRARY, AND HOW TO DO BASIC TEXT PROCESSING.

Expand Down Expand Up @@ -30,7 +30,9 @@ Config vars:

If you gave it a toast channel, you can now see some toasts.

`PRUNE` is an administrative convenience for making LOUDBOT bulk-forget shouts. Put the items you'd like to purge as new-line delimited text in some file, then run `PRUNE /path/to/file`. I need something better here myself so I'll write it soon. I also need a good backup method better than redis dumps.
ARE YOU UPSET BY WHAT LOUDBOT SHOUTS? LOUDBOT IS YOU.

But sometimes we wish to forget. `PRUNE` is an administrative convenience for making LOUDBOT bulk-forget shouts. Put the items you'd like to purge as new-line delimited text in some file, then run `PRUNE /path/to/file`. I need something better here myself so I'll write it soon. I also need a good backup method better than redis dumps.

## Running with Docker

Expand Down

0 comments on commit 9272d43

Please sign in to comment.