Skip to content

Commit

Permalink
Add Dockerfile and update playground
Browse files Browse the repository at this point in the history
  • Loading branch information
arunvelsriram committed Aug 12, 2020
1 parent b11e939 commit 0927caf
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
bin
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.14-buster as builder

WORKDIR /sftp-exporter
COPY ./ ./
RUN make build

FROM debian:buster

WORKDIR /sftp-exporter
COPY --from=builder /sftp-exporter/bin/sftp-exporter .
COPY --from=builder /sftp-exporter/sftp-exporter.yaml .
ENTRYPOINT ["./sftp-exporter"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0927caf

Please sign in to comment.