2021-12-15 17:58:47 +08:00
|
|
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.14
|
|
|
|
|
2021-03-21 19:30:48 +08:00
|
|
|
RUN apk --update add ca-certificates \
|
|
|
|
mailcap \
|
|
|
|
curl
|
|
|
|
|
|
|
|
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
|
|
|
|
CMD curl -f http://localhost/health || exit 1
|
2018-06-07 04:02:00 +08:00
|
|
|
|
2021-12-15 17:58:47 +08:00
|
|
|
# copy local files
|
|
|
|
COPY docker/root/ /
|
|
|
|
COPY filebrowser /usr/bin/filebrowser
|
2018-06-07 04:02:00 +08:00
|
|
|
|
2021-12-15 17:58:47 +08:00
|
|
|
# ports and volumes
|
|
|
|
VOLUME /srv /config /database
|
|
|
|
EXPOSE 80
|