2021-12-21 13:28:42 +00:00
|
|
|
FROM alpine:latest
|
2021-03-21 11:30:48 +00:00
|
|
|
RUN apk --update add ca-certificates \
|
|
|
|
mailcap \
|
2023-07-22 21:07:15 +00:00
|
|
|
curl \
|
|
|
|
jq
|
|
|
|
|
|
|
|
COPY healthcheck.sh /healthcheck.sh
|
|
|
|
RUN chmod +x /healthcheck.sh # Make the script executable
|
2021-03-21 11:30:48 +00:00
|
|
|
|
|
|
|
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
|
2023-07-22 21:07:15 +00:00
|
|
|
CMD /healthcheck.sh || exit 1
|
2018-06-06 20:02:00 +00:00
|
|
|
|
2021-12-21 13:28:42 +00:00
|
|
|
VOLUME /srv
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
COPY docker_config.json /.filebrowser.json
|
|
|
|
COPY filebrowser /filebrowser
|
2018-06-06 20:02:00 +00:00
|
|
|
|
2021-12-21 13:28:42 +00:00
|
|
|
ENTRYPOINT [ "/filebrowser" ]
|