about summary refs log tree commit diff
path: root/tools/govanity/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/govanity/Dockerfile')
-rw-r--r--tools/govanity/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/govanity/Dockerfile b/tools/govanity/Dockerfile
new file mode 100644
index 0000000..caca19a
--- /dev/null
+++ b/tools/govanity/Dockerfile
@@ -0,0 +1,13 @@
+FROM golang:1.16-alpine
+
+WORKDIR /src
+
+ADD go.mod /src
+ADD go.sum /src
+RUN go mod download
+
+ADD . /src
+
+RUN go build -o app .
+
+ENTRYPOINT ["/src/app"]