All checks were successful
Publish FaceAI Container / publish (push) Successful in 3m7s
- Introduced processor heartbeat configuration in environment variables and Docker setup. - Implemented heartbeat publishing in the processor worker. - Enhanced health check endpoint to include processor availability status. - Updated frontend components to handle processor unavailability messages. - Added legacy return functionality in the upload panel.
23 lines
No EOL
623 B
Docker
23 lines
No EOL
623 B
Docker
FROM node:22-trixie-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get upgrade -y \
|
|
&& apt-get install -y --no-install-recommends libxcb1 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY faceai/package.json ./package.json
|
|
COPY faceai/apps/frontend/package.json apps/frontend/package.json
|
|
COPY faceai/apps/backend/package.json apps/backend/package.json
|
|
COPY faceai/apps/processor/package.json apps/processor/package.json
|
|
|
|
RUN npm install
|
|
|
|
COPY faceai /app
|
|
COPY bin/Face_Recognition_Unix/face_matcher /app/bin/face_matcher
|
|
|
|
RUN chmod +x /app/bin/face_matcher
|
|
|
|
ENV NODE_ENV=production
|
|
ENV FACEAI_MATCHER_BINARY=/app/bin/face_matcher |