This commit is contained in:
Jay
2018-09-21 22:58:41 +08:00
commit b9c7083dba
80 changed files with 24440 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM golang:1.11-alpine3.8 as builder
WORKDIR /go/src/git.trj.tw/golang/fblook
RUN apk add --no-cache make git
COPY . .
RUN make
FROM alpine:latest
RUN apk add --no-cache ca-certificates
WORKDIR /data
COPY --from=builder /go/src/git.trj.tw/golang/fblook/fblook /usr/bin
COPY config.default.yml config.yml
CMD ["/usr/bin/fblook", "-f", "/data/config.yml"]