mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
Update Dockerfile
Former-commit-id: e8e99ed19cabe5a571f279cb2441964cdb954da9 [formerly cdbfd41a0ac408328eed4dd4466f1a9e0736ed0b] [formerly 69fc163bec96cc39dd5f77d1a7620eb9b29be28a [formerly ef315082ed
]]
Former-commit-id: f81fbaeeee62c3a6a1d554f9dfff514ca095cf31 [formerly e5728fe8be1bbf463bd0b6e1f9df04de70dc3f4d]
Former-commit-id: f250a6c9fff5f8f397d1f3a6d00cfe0e4be23862
This commit is contained in:
parent
be082c1075
commit
3469d8c6e8
13
Dockerfile
13
Dockerfile
@ -1,10 +1,9 @@
|
|||||||
FROM golang:alpine
|
FROM golang:alpine
|
||||||
WORKDIR /go/src/github.com/hacdias/filemanager
|
|
||||||
COPY . /go/src/github.com/hacdias/filemanager
|
COPY . /go/src/github.com/hacdias/filemanager
|
||||||
|
WORKDIR /go/src/github.com/hacdias/filemanager
|
||||||
RUN apk add --no-cache git && go get ./... && cd /go/src/github.com/hacdias/filemanager/cmd/filemanager && go build
|
RUN apk add --no-cache git
|
||||||
|
RUN go get ./...
|
||||||
FROM alpine:latest
|
WORKDIR /go/src/github.com/hacdias/filemanager/cmd/filemanager
|
||||||
COPY --from=0 /go/src/github.com/hacdias/filemanager/cmd/filemanager/filemanager /usr/local/bin/filemanager
|
RUN go build
|
||||||
ENTRYPOINT ["filemanager"]
|
ENTRYPOINT ["/go/src/github.com/hacdias/filemanager/cmd/filemanager/filemanager"]
|
||||||
CMD ["-h"]
|
CMD ["-h"]
|
Loading…
Reference in New Issue
Block a user