update docker file
This commit is contained in:
parent
d299bbe24b
commit
b80ac583a1
@ -1,4 +1,4 @@
|
||||
FROM golang:1.11-alpine3.8 as builder
|
||||
FROM golang:1.12.1-alpine as builder
|
||||
WORKDIR /go/src/git.trj.tw/golang/mtfosbot
|
||||
RUN apk add --no-cache make git \
|
||||
&& go get -u github.com/otakukaze/go-bindata/...
|
||||
@ -11,4 +11,4 @@ WORKDIR /data
|
||||
COPY --from=builder /go/src/git.trj.tw/golang/mtfosbot/mtfosbot /usr/bin
|
||||
COPY config.default.yml config.yml
|
||||
EXPOSE 10230
|
||||
CMD ["/usr/bin/mtfosbot", "-f", "/data/config.yml", "-dbtool"]
|
||||
CMD ["/usr/bin/mtfosbot", "-f", "/data/config.yml", "-dbtool"]
|
||||
|
Loading…
Reference in New Issue
Block a user