2017-07-27 09:27:59 +00:00
|
|
|
FROM golang:alpine
|
|
|
|
COPY . /go/src/github.com/hacdias/filemanager
|
2017-07-27 10:38:09 +00:00
|
|
|
WORKDIR /go/src/github.com/hacdias/filemanager
|
|
|
|
RUN apk add --no-cache git
|
|
|
|
RUN go get ./...
|
|
|
|
WORKDIR /go/src/github.com/hacdias/filemanager/cmd/filemanager
|
|
|
|
RUN go build
|
|
|
|
ENTRYPOINT ["/go/src/github.com/hacdias/filemanager/cmd/filemanager/filemanager"]
|
|
|
|
CMD ["-h"]
|