forked from Shared/esg
Add health check and retry logic and circuit breaker
This commit is contained in:
@@ -16,6 +16,7 @@ RUN npm ci --omit=dev --ignore-scripts
|
||||
# ─── Stage 3: Production ──────────────────────────────────────────────────────
|
||||
FROM base AS production
|
||||
ENV NODE_ENV=production
|
||||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
|
||||
COPY --from=builder --chown=appuser:appgroup /app/dist ./dist
|
||||
COPY --from=builder --chown=appuser:appgroup /app/node_modules ./node_modules
|
||||
COPY --from=builder --chown=appuser:appgroup /app/package.json ./package.json
|
||||
|
||||
Reference in New Issue
Block a user