Skip to content

Commit

Permalink
Added Logstash Patterns to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dcwangmit01 committed May 12, 2019
1 parent c835df1 commit 1f0ddb1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ RUN cd /go/src/github.com/fstab/grok_exporter && \

FROM alpine:latest

WORKDIR /app

COPY --from=builder /go/src/github.com/fstab/grok_exporter/grok_exporter \
/bin/grok_exporter
/app/grok_exporter
COPY --from=builder /go/src/github.com/fstab/grok_exporter/logstash-patterns-core \
/app/logstash-patterns-core

EXPOSE 9144
ENTRYPOINT [ "/bin/grok_exporter" ]
ENTRYPOINT [ "/app/grok_exporter" ]

0 comments on commit 1f0ddb1

Please sign in to comment.