2019-12-03 13:59:37 +08:00
|
|
|
FROM alpine:latest as alpine
|
2019-05-12 06:02:37 +08:00
|
|
|
RUN apk --update add ca-certificates
|
2019-12-03 13:59:37 +08:00
|
|
|
RUN apk --update add mailcap
|
2018-06-07 04:02:00 +08:00
|
|
|
|
2019-05-12 06:02:37 +08:00
|
|
|
FROM scratch
|
2019-12-03 13:59:37 +08:00
|
|
|
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
COPY --from=alpine /etc/mime.types /etc/mime.types
|
2018-06-07 04:02:00 +08:00
|
|
|
|
|
|
|
VOLUME /srv
|
|
|
|
EXPOSE 80
|
|
|
|
|
2019-01-09 01:17:52 +08:00
|
|
|
COPY .docker.json /.filebrowser.json
|
2018-06-07 04:02:00 +08:00
|
|
|
COPY filebrowser /filebrowser
|
|
|
|
|
2019-01-08 22:07:55 +08:00
|
|
|
ENTRYPOINT [ "/filebrowser" ]
|