/ Dockerfile
Dockerfile
1 FROM dailyco/pipecat-base:latest 2 3 # Enable bytecode compilation for faster startup 4 ENV UV_COMPILE_BYTECODE=1 5 6 # Copy from the cache instead of linking since it's a mounted volume 7 ENV UV_LINK_MODE=copy 8 9 # Install the project's dependencies using the lockfile and settings 10 RUN --mount=type=cache,target=/root/.cache/uv \ 11 --mount=type=bind,source=uv.lock,target=uv.lock \ 12 --mount=type=bind,source=pyproject.toml,target=pyproject.toml \ 13 uv sync --locked --no-install-project --no-dev 14 15 # Copy the application code 16 COPY ./bot/bot.py bot.py 17 COPY ./bot/core/ core/ 18 COPY ./bot/pipelines/ pipelines/ 19 COPY ./bot/processors/ processors/ 20 COPY ./bot/prompts/ prompts/ 21 COPY ./bot/transport_context.py transport_context.py 22 COPY ./bot/call_recorder.py call_recorder.py 23 COPY ./bot/end_of_call_reporter.py end_of_call_reporter.py