From c194de18612809c817f4e6b1f1d1a79b4c8c1967 Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Fri, 1 Jan 2021 21:18:17 +1100 Subject: [PATCH] Add a basic dockerfile --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a42094e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM golang:latest + +WORKDIR /go/src/sungrow +COPY . . + +RUN go get -d -v ./... +RUN go install -v ./... + +CMD ["sungrow"] \ No newline at end of file