24 lines
629 B
Docker
24 lines
629 B
Docker
FROM python:3.10-bullseye
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y python3-dev portaudio19-dev
|
|
|
|
RUN git clone https://github.com/pipecat-ai/pipecat.git
|
|
WORKDIR /pipecat
|
|
RUN echo "forcing rebuild"
|
|
RUN git fetch
|
|
RUN git checkout khk/gpu-demo-0725 && echo "I hope that worked you know?"
|
|
RUN git checkout aafc7d8fb49f3d640b4af5266db04a6e36099384
|
|
RUN python3 -m venv venv
|
|
RUN . venv/bin/activate
|
|
RUN pip install -r dev-requirements.txt -r linux-py3.10-requirements.txt
|
|
RUN pip install boto3
|
|
RUN python -m build
|
|
RUN pip install --editable .
|
|
|
|
EXPOSE 7860
|
|
|
|
WORKDIR /pipecat/personal/khk/bot-and-runner
|
|
CMD ["python", "sqs-runner.py"]
|
|
|