updating docker file
This commit is contained in:
@@ -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\
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user