Как исправить ошибку развертывания Heroku Openai Django?

При развертывании нового приложения Heroku с использованием Django Docker Enviorment

Inside my requirments.txt

У меня есть

openai==0.11.0

При выполнении

git push heroku master
<
 Building wheel for pandas (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for pandas (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [1803 lines of output]
gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
    Building wheel for numpy (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for numpy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [251 lines of output]
RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required.
      [end of output]
    

Любая помощь очень ценится. Спасибо

Добавление

RUN apk add g++ postgresql-dev cargo gcc python3-dev libffi-dev

В Dockerfile.web исправлена проблема

Вернуться на верх