Add Dockerfile for building a Docker image
This commit is contained in:
parent
06de47a34c
commit
12677f545b
|
@ -0,0 +1,12 @@
|
|||
FROM golang:latest
|
||||
|
||||
WORKDIR /go/src/cordless
|
||||
|
||||
COPY . ./
|
||||
|
||||
RUN go build .
|
||||
|
||||
VOLUME ["/root/.config/cordless"]
|
||||
|
||||
ENTRYPOINT ["/go/src/cordless/cordless"]
|
||||
|
Loading…
Reference in New Issue