Add a basic dockerfile
This commit is contained in:
parent
da677e9c6f
commit
c194de1861
1 changed files with 9 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FROM golang:latest
|
||||||
|
|
||||||
|
WORKDIR /go/src/sungrow
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN go get -d -v ./...
|
||||||
|
RUN go install -v ./...
|
||||||
|
|
||||||
|
CMD ["sungrow"]
|
Loading…
Reference in a new issue