updating docker file

This commit is contained in:
2025-11-06 14:38:34 +08:00
parent bff4970d0e
commit db1d1b2128
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ RUN python -m pip install --upgrade pip \
--trusted-host mirrors.aliyun.com \
--default-timeout=300
EXPOSE 8488
EXPOSE 8588
# Create entrypoint script that initializes conda/mamba and runs the command
RUN echo '#!/bin/bash\n\

View File

@@ -3,7 +3,7 @@ services:
build: .
container_name: lang-agent-api
ports:
- "8488:8488"
- "8588:8588"
env_file:
- ./.env
environment:
@@ -15,7 +15,7 @@ services:
- ./assets:/app/assets
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8488/health')"]
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8588/health')"]
interval: 30s
timeout: 10s
retries: 3