2024-08-31 03:18:19 +08:00
|
|
|
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
|
2021-12-15 17:58:47 +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
|
|
|
|
|
|
|
|
# copy local files
|
|
|
|
COPY docker/root/ /
|
|
|
|
COPY filebrowser /usr/bin/filebrowser
|
|
|
|
|
|
|
|
# ports and volumes
|
|
|
|
VOLUME /srv /config /database
|
|
|
|
EXPOSE 80
|