Add a basic dockerfile

This commit is contained in:
Josh Deprez 2021-01-01 21:18:17 +11:00
parent da677e9c6f
commit c194de1861

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM golang:latest
WORKDIR /go/src/sungrow
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["sungrow"]