Update env file with LLM_MODEL qwen3.5-plus

This commit is contained in:
whlaoding
2026-03-16 01:56:40 +08:00
parent 38d6875ab8
commit 9fccb0a473

34
deploy.sh Executable file
View File

@@ -0,0 +1,34 @@
#!/bin/bash
# Configuration
REGISTRY_URL="dcr-by1jwyxk44.71826370.xyz"
IMAGE_NAME="laodingbot"
TAG=$(date +%Y%m%d%H%M%S)
FULL_IMAGE_NAME="${REGISTRY_URL}/${IMAGE_NAME}:${TAG}"
LATEST_IMAGE_NAME="${REGISTRY_URL}/${IMAGE_NAME}:latest"
echo "Step 1: Building Docker image..."
docker build -t ${IMAGE_NAME}:latest .
if [ $? -ne 0 ]; then
echo "Error: Docker build failed."
exit 1
fi
echo "Step 2: Tagging image..."
docker tag ${IMAGE_NAME}:latest ${FULL_IMAGE_NAME}
docker tag ${IMAGE_NAME}:latest ${LATEST_IMAGE_NAME}
echo "Step 3: Pushing image to ${REGISTRY_URL}..."
# Note: You might need to run 'docker login ${REGISTRY_URL}' once before running this script
docker push ${FULL_IMAGE_NAME}
docker push ${LATEST_IMAGE_NAME}
if [ $? -ne 0 ]; then
echo "Error: Docker push failed. Make sure you are logged in to the registry."
exit 1
fi
echo "Successfully built and pushed:"
echo " - ${FULL_IMAGE_NAME}"
echo " - ${LATEST_IMAGE_NAME}"