about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-03-14 15:08:39 +0100
committerEmile <hanemile@protonmail.com>2019-03-14 15:08:39 +0100
commit2a7bad97cdaefef5f81d56a329022c9000b80378 (patch)
tree17a784544a6c6320dcb9c5be74a7a6214b6f91c0
parent7becf1af179b85fed03143a119baff8e1411cd6b (diff)
wrote a simple Dockerfile
-rw-r--r--Dockerfile11
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"]