fix(docker): use prebuilt image by default in compose (#1169)

This commit is contained in:
suyua9
2026-04-25 14:08:25 +08:00
committed by GitHub
parent 9df9d81b64
commit fee294e35b
+6 -6
View File
@@ -17,12 +17,12 @@ services:
start_period: 10s start_period: 10s
app: app:
build: image: ghcr.io/f/prompts.chat:latest
context: . # To build locally instead of using the pre-built image, comment out
dockerfile: docker/Dockerfile # the 'image' line above and uncomment the build block below:
# To use a pre-built image instead of building locally, comment out # build:
# the 'build' block above and uncomment the line below: # context: .
# image: ghcr.io/f/prompts.chat:latest # dockerfile: docker/Dockerfile
restart: unless-stopped restart: unless-stopped
ports: ports:
- "${PORT:-4444}:3000" - "${PORT:-4444}:3000"