mirror of
https://github.com/woodchen-ink/Q58Connect.git
synced 2025-07-17 21:41:55 +08:00
fix: not found curl
in health check
This commit is contained in:
parent
73cafbc250
commit
b8368cfc32
@ -29,6 +29,7 @@ RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
RUN set -x \
|
||||
&& apk add --no-cache curl \
|
||||
&& corepack enable pnpm \
|
||||
&& pnpm add prisma
|
||||
|
||||
|
@ -11,7 +11,7 @@ services:
|
||||
db:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]
|
||||
test: ["CMD-SHELL", "curl http://localhost:3000/api/health"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user