mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add Dockerfile
This commit is contained in:
parent
fca2f93e20
commit
e2f21a4e64
4 changed files with 18 additions and 2 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Download latest golang image
|
||||
FROM golang:latest
|
||||
# Create a directory for the app
|
||||
RUN mkdir /app
|
||||
# Copy all files from current directory to working directory
|
||||
COPY . /app
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
RUN cd cmd && go build -o Nourybot
|
||||
|
||||
CMD ["/app/cmd/Nourybot"]
|
|
@ -1,3 +1,7 @@
|
|||
# nourybot
|
||||
|
||||
Near future abandoned project in development.
|
||||
Near future abandoned project in development.
|
||||
|
||||
## Docker
|
||||
docker build -t nourybot .
|
||||
docker run -it --rm nourybot
|
||||
|
|
|
@ -24,7 +24,7 @@ func PrivateMessage(message twitch.PrivateMessage, nb *bot.Bot) {
|
|||
|
||||
// Thing for #pajlada
|
||||
if message.Channel == "pajlada" && message.Message == "pajaS 🚨 ALERT" && message.User.Name == "pajbot" && message.Action {
|
||||
log.Info(message.Message)
|
||||
// log.Info(message.Message)
|
||||
nb.SkipChecking("pajlada", "/me PAJAS 🚨 pajaAAAAAAAAAAA")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue