update docker file

This commit is contained in:
Jay 2019-03-27 13:38:58 +00:00
parent d299bbe24b
commit b80ac583a1
1 changed files with 2 additions and 2 deletions

View File

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