Update quickstart to use pcc docker command
This commit is contained in:
@@ -128,8 +128,7 @@ This creates a secret set called `quickstart-secrets` (matching your TOML file)
|
|||||||
Build your Docker image and push to Docker Hub:
|
Build your Docker image and push to Docker Hub:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Update build.sh with your Docker Hub username, then:
|
uv run pcc docker build-push
|
||||||
./build.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Deploy to Pipecat Cloud:
|
Deploy to Pipecat Cloud:
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
VERSION="0.1"
|
|
||||||
DOCKER_USERNAME="your_username"
|
|
||||||
AGENT_NAME="quickstart"
|
|
||||||
|
|
||||||
# Build the Docker image with the correct context
|
|
||||||
echo "Building Docker image..."
|
|
||||||
docker build --platform=linux/arm64 -t "$DOCKER_USERNAME/$AGENT_NAME:$VERSION" -t "$DOCKER_USERNAME/$AGENT_NAME:latest" .
|
|
||||||
|
|
||||||
# Push the Docker images
|
|
||||||
echo "Pushing Docker image $DOCKER_USERNAME/$AGENT_NAME:$VERSION..."
|
|
||||||
docker push "$DOCKER_USERNAME/$AGENT_NAME:$VERSION"
|
|
||||||
|
|
||||||
echo "Pushing Docker image $DOCKER_USERNAME/$AGENT_NAME:latest..."
|
|
||||||
docker push "$DOCKER_USERNAME/$AGENT_NAME:latest"
|
|
||||||
|
|
||||||
echo "Successfully built and pushed $DOCKER_USERNAME/$AGENT_NAME:$VERSION and $DOCKER_USERNAME/$AGENT_NAME:latest"
|
|
||||||
@@ -5,7 +5,7 @@ description = "Quickstart example for building voice AI bots with Pipecat"
|
|||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pipecat-ai[webrtc,daily,silero,deepgram,openai,cartesia,runner]>=0.0.79",
|
"pipecat-ai[webrtc,daily,silero,deepgram,openai,cartesia,runner]>=0.0.79",
|
||||||
"pipecatcloud>=0.2.3"
|
"pipecatcloud>=0.2.4"
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
|
|||||||
Reference in New Issue
Block a user