mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
10 lines
394 B
Docker
10 lines
394 B
Docker
|
FROM golang:alpine
|
||
|
WORKDIR /go/src/github.com/hacdias/filemanager
|
||
|
COPY . /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
|
||
|
|
||
|
FROM alpine:latest
|
||
|
COPY --from=0 /go/src/github.com/hacdias/filemanager/cmd/filemanager/filemanager /usr/local/bin/filemanager
|
||
|
ENTRYPOINT ["filemanager"]
|
||
|
CMD ["-h"]
|