1. add makefile
2. modify dockerfile
3. add config twitch.bot_user
This commit is contained in:
Jay
2018-09-20 20:35:04 +08:00
parent 116c43b0cb
commit 8a4b11f92a
6 changed files with 16 additions and 7 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
FROM golang:1.11-alpine3.8 as builder
WORKDIR /go/src/git.trj.tw/golang/mtfosbot
RUN apk add --no-cache make git
RUN go get -u github.com/otakukaze/go-bindata/...
COPY . .
RUN GOOS=linux go build -o mtfosbot .
RUN make
FROM alpine:latest
RUN apk add --no-cache ca-certificates