add Dockerfile
This commit is contained in:
parent
413d9da399
commit
9500cd3864
1 changed files with 9 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM golang:1
|
||||
|
||||
ADD . /gorepos
|
||||
WORKDIR /gorepos
|
||||
|
||||
RUN go get -d .
|
||||
RUN go build ./...
|
||||
|
||||
CMD /gorepos/gorepos
|
Loading…
Reference in a new issue