2019-12-03 05:59:37 +00:00
|
|
|
FROM alpine:latest as alpine
|
2019-05-11 22:02:37 +00:00
|
|
|
RUN apk --update add ca-certificates
|
2019-12-03 05:59:37 +00:00
|
|
|
RUN apk --update add mailcap
|
2018-06-06 20:02:00 +00:00
|
|
|
|
2019-05-11 22:02:37 +00:00
|
|
|
FROM scratch
|
2019-12-03 05:59:37 +00: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-06 20:02:00 +00:00
|
|
|
|
|
|
|
VOLUME /srv
|
|
|
|
EXPOSE 80
|
|
|
|
|
2019-01-08 17:17:52 +00:00
|
|
|
COPY .docker.json /.filebrowser.json
|
2018-06-06 20:02:00 +00:00
|
|
|
COPY filebrowser /filebrowser
|
|
|
|
|
2019-01-08 14:07:55 +00:00
|
|
|
ENTRYPOINT [ "/filebrowser" ]
|