initial commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -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" ]
|
Reference in New Issue
Block a user