From 8cad3f688d607a58a092626f4ee8a374cbf3b830 Mon Sep 17 00:00:00 2001 From: lucklove Date: Fri, 29 Mar 2024 17:59:26 +0800 Subject: [PATCH] deploy: use pre-build docker image for production --- docker-compose.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 7247e54..0b7f2ea 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,16 +1,12 @@ services: api: - build: . - volumes: - - .:/usr/src/app + image: pingcap/linguflow-api ports: - 8000:8000 environment: - DATABASE_URL ui: - build: ui - volumes: - - ./ui:/app + image: pingcap/linguflow-ui ports: - 80:80 environment: