Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
Adding the dockerfile I used to dockerize for an unraid install
  • Loading branch information
ezelkow1 committed Mar 15, 2024
1 parent 3466c8d commit 38cd1ce
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 38cd1ce

Please sign in to comment.