From 38cd1ce38e76377ccdcf3fc1620ce9e692a6d314 Mon Sep 17 00:00:00 2001 From: Evan Zelkowitz Date: Fri, 15 Mar 2024 17:40:13 -0600 Subject: [PATCH] Create Dockerfile Adding the dockerfile I used to dockerize for an unraid install --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..738d6fe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +from golang:1.16-alpine + +WORKDIR /app +COPY go.mod ./ +COPY *.go ./ +COPY *.sum ./ + +RUN go mod download +RUN go build -o /discord-key-bot +CMD /discord-key-bot -c /config/conf.json