feat(docker): add curl installation for health check support

This commit is contained in:
ngc2207 2025-01-29 22:19:10 +08:00
parent 989f4b4354
commit f7d8234f6a

View File

@ -52,6 +52,9 @@ RUN \
FROM base AS runner FROM base AS runner
WORKDIR /app WORKDIR /app
# Install curl tool to ensure the health check works correctly
RUN apk add --no-cache curl
ENV NODE_ENV=production ENV NODE_ENV=production
# Uncomment the following line in case you want to disable telemetry during runtime. # Uncomment the following line in case you want to disable telemetry during runtime.
# ENV NEXT_TELEMETRY_DISABLED=1 # ENV NEXT_TELEMETRY_DISABLED=1