How to connect the microphone to Docker app on Windows 10 and save outputs to my local directory?

303 Views Asked by At

I cannot connect my docker container to my microphone or local directory on Windows 10 and have been troubleshooting for some time, but I cannot find the issue. I would be truly grateful if anyone could give guidance.

Here is my Dockerfile:

FROM python:3.9-buster
WORKDIR /app
COPY requirements.txt .
RUN python3 -m pip install -r requirements.txt --no-cache-dir
COPY src/ /app
CMD [ "python3", "-u" ,"/app/main.py" ]

The error message is "OSError: sndfile library not found".

0

There are 0 best solutions below