mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
e846c16336
Former-commit-id: 02381af5eb56c6d17416b187abac0c5b0067179b [formerly 4ee41157924a7ebbeefd31ddd55919317da6a4fe] [formerly 914325aefc9c3f622b3368289f3499c526943b56 [formerly 02c98905ae
]]
Former-commit-id: 5c9112505577abeb82bb0e9f6f04081b63838dbf [formerly 82821dd7c2a3bd04d11148b43c45cbd8331e7138]
Former-commit-id: 121ad025499afafc25ca21e322783aa91ac6ebf2
19 lines
368 B
Docker
19 lines
368 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 install
|
|
|
|
VOLUME /srv
|
|
EXPOSE 80
|
|
|
|
COPY Docker.json /etc/config.json
|
|
|
|
ENTRYPOINT ["/go/bin/filemanager"]
|
|
CMD ["--config", "/etc/config.json"]
|