filebrowser/Dockerfile
Henrique Dias 3469d8c6e8 Update Dockerfile
Former-commit-id: e8e99ed19cabe5a571f279cb2441964cdb954da9 [formerly cdbfd41a0ac408328eed4dd4466f1a9e0736ed0b] [formerly 69fc163bec96cc39dd5f77d1a7620eb9b29be28a [formerly ef315082ed]]
Former-commit-id: f81fbaeeee62c3a6a1d554f9dfff514ca095cf31 [formerly e5728fe8be1bbf463bd0b6e1f9df04de70dc3f4d]
Former-commit-id: f250a6c9fff5f8f397d1f3a6d00cfe0e4be23862
2017-07-27 11:38:09 +01:00

10 lines
325 B
Docker

FROM golang:alpine
COPY . /go/src/github.com/hacdias/filemanager
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"]