chore: remove pipecat version check from docker build process

This commit is contained in:
Sabiha Khan 2025-10-03 14:03:12 +05:30
parent c7e75819f4
commit d55205fd67
7 changed files with 181 additions and 103 deletions

View file

@ -18,10 +18,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt && \
# Clean up pip cache after installation
rm -rf /root/.cache/pip
# Force reinstall of pipecat on every build (cache bust)
# Accept pipecat commit SHA as build argument
ARG PIPECAT_COMMIT
RUN if [ -z "$PIPECAT_COMMIT" ]; then \
echo "ERROR: PIPECAT_COMMIT build argument is required" >&2; \
exit 1; \
fi
ARG CACHEBUST=1
RUN pip install --user 'git+https://github.com/dograh-hq/pipecat.git@f88c8a0#egg=pipecat-ai[cartesia,deepgram,openai,elevenlabs,groq,google,azure,soundfile,silero,webrtc]' && \
# Install pipecat using the commit SHA from build argument
RUN pip install --user "git+https://github.com/dograh-hq/pipecat.git@${PIPECAT_COMMIT}#egg=pipecat-ai[cartesia,deepgram,openai,elevenlabs,groq,google,azure,soundfile,silero,webrtc]" && \
# Clean up pip cache after pipecat installation
rm -rf /root/.cache/pip