commit 7cd89381f9c592a81e04618bb60403689d6a74b0 Author: Daniel Tam Date: Sat Jul 9 03:19:07 2022 +0000 initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8c44344 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# syntax=docker/dockerfile:1 + +FROM golang:latest + +WORKDIR /app + +RUN git clone https://github.com/omgdanieltam/BunnyBot.git . + +RUN go mod download + +COPY auth.json ./ + +RUN go build -o ./BunnyBot + +RUN chmod +x ./BunnyBot + +CMD [ "./BunnyBot" ] diff --git a/README.md b/README.md new file mode 100644 index 0000000..350abc0 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +## Dockerfile for BunnyBot + +This is a Dockerfile to containerize my Discord bot (https://git.dtam.pw/daniel/GoBunnyBot) +