From 1f07896627abb1e0721f7ac61ca70bdfd66526d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Thu, 23 Jan 2025 02:56:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B62?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ea29216 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3' +services: + ai: + image: 2271608011/ai-modelscope:v1.0 + container_name: ai + restart: unless-stopped + ports: + - 9741:9741 + volumes: + - .:/code + command: /bin/bash -c "cd /code && uvicorn main:app --proxy-headers --host '0.0.0.0' --port 9741"