diff options
author | Emile <hanemile@protonmail.com> | 2019-03-14 15:08:39 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-03-14 15:08:39 +0100 |
commit | 2a7bad97cdaefef5f81d56a329022c9000b80378 (patch) | |
tree | 17a784544a6c6320dcb9c5be74a7a6214b6f91c0 /Dockerfile | |
parent | 7becf1af179b85fed03143a119baff8e1411cd6b (diff) |
wrote a simple Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6d993ef --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM golang:latest + +WORKDIR /home +COPY *.go /home/ + +RUN ["go", "get", "github.com/gorilla/mux"] +RUN ["go", "build", "-o", "metrics-bundler"] + +EXPOSE 8080 + +ENTRYPOINT ["./metrics-bundler"] |