Speech2Text / Dockerfile
DanielIglesias97's picture
We have modified the Dockerfile because it did not work without a binding
6cc8eb5 verified
raw
history blame contribute delete
258 Bytes
FROM python:3.12
RUN apt-get update
RUN apt-get install -y portaudio19-dev
RUN apt-get install -y python3-pyaudio
WORKDIR /home/user/app
COPY ./requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt
COPY . .
CMD ["python", "main.py"]