Update deployment steps

This commit is contained in:
Mark Backman
2025-08-22 23:41:19 -04:00
parent e17fd580c6
commit de4dfc3ed4
7 changed files with 3191 additions and 32 deletions

View File

@@ -1,7 +1,16 @@
FROM dailyco/pipecat-base:latest
COPY ./requirements.txt requirements.txt
# Enable bytecode compilation
ENV UV_COMPILE_BYTECODE=1
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Copy from the cache instead of linking since it's a mounted volume
ENV UV_LINK_MODE=copy
# Install the project's dependencies using the lockfile and settings
RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --locked --no-install-project --no-dev
# Copy the application code
COPY ./bot.py bot.py