From fee294e35be3dd51661bf05c1dae8d4b5edf2c4a Mon Sep 17 00:00:00 2001 From: suyua9 <1521777066@qq.com> Date: Sat, 25 Apr 2026 14:08:25 +0800 Subject: [PATCH] fix(docker): use prebuilt image by default in compose (#1169) --- compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compose.yml b/compose.yml index a57e2393..eef02837 100644 --- a/compose.yml +++ b/compose.yml @@ -17,12 +17,12 @@ services: start_period: 10s app: - build: - context: . - dockerfile: docker/Dockerfile - # To use a pre-built image instead of building locally, comment out - # the 'build' block above and uncomment the line below: - # image: ghcr.io/f/prompts.chat:latest + image: ghcr.io/f/prompts.chat:latest + # To build locally instead of using the pre-built image, comment out + # the 'image' line above and uncomment the build block below: + # build: + # context: . + # dockerfile: docker/Dockerfile restart: unless-stopped ports: - "${PORT:-4444}:3000"