Files
docker-bunnybot/Dockerfile
2022-07-09 03:19:07 +00:00

18 lines
240 B
Docker

# 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" ]