messy Dockerfile for an in-checkout build

This commit is contained in:
Ubuntu
2024-07-30 17:23:29 +00:00
parent aafc7d8fb4
commit c44ca86a08

View File

@@ -0,0 +1,23 @@
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"]