filebrowser/Dockerfile
chalkim 1d1cc4b7f8 feature: add global.torrent settings card
feature: remember make torrent options
2024-06-21 02:28:47 +08:00

21 lines
492 B
Docker

FROM alpine:latest
RUN apk --update add ca-certificates \
mailcap \
curl \
jq \
mktorrent
COPY healthcheck.sh /healthcheck.sh
RUN chmod +x /healthcheck.sh # Make the script executable
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
CMD /healthcheck.sh || exit 1
VOLUME /srv
EXPOSE 80
COPY docker_config.json /.filebrowser.json
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser" ]