diff --git a/Dockerfile b/Dockerfile index 8cbc7a5b..611d0126 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM alpine:latest RUN apk --update add ca-certificates \ mailcap \ - curl + curl \ + git HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \ CMD curl -f http://localhost/health || exit 1 @@ -12,4 +13,4 @@ EXPOSE 80 COPY .docker.json /.filebrowser.json COPY filebrowser /filebrowser -ENTRYPOINT [ "/filebrowser" ] \ No newline at end of file +ENTRYPOINT [ "/filebrowser" ]