How to install the "talib" library in huggingface space?

Here’s a minimal example: TA Lib - a Hugging Face Space by kristada673

I keep getting this error when trying to install this library and run a HF space:

I’ve tried the following in Dockerfile:

RUN wget \
  && tar -xzf ta-lib-0.4.0-src.tar.gz \
  && cd ta-lib/ \
  && ./configure --prefix=/usr \
  && make \
  && make install \
  && pip install ta-lib

And this actually works when deploying my project in a kubernetes cluster in google cloud (GCP). But it fails in HF space.

I’ve also tried downloading the whl file of this library (included in the repo linked above) and then adding the following line in Dockerfile:

pip install TA_Lib-0.4.24-cp310-cp310-win_amd64.whl

This works in my local machine, but does not work in HF space.

So, how do I get this library to install in HF space?