All checks were successful
Publish FaceAI Container / publish (push) Successful in 13m8s
- Created App.vue for the main application interface with localization support. - Added main.js to bootstrap the Vue application. - Introduced styles.css for application styling. - Configured Vite for development and proxying API requests. - Updated docker-compose files to include the new monitor service. - Added Dockerfile for building the monitor frontend. - Configured Nginx for serving the frontend and proxying API requests. - Updated package.json and package-lock.json to include monitor-frontend workspace. - Added initial SQLite database for audit monitoring.
22 lines
No EOL
654 B
Docker
22 lines
No EOL
654 B
Docker
FROM node:22-trixie-slim AS build
|
|
|
|
WORKDIR /app
|
|
|
|
COPY faceai/package.json ./package.json
|
|
COPY faceai/apps/frontend/package.json apps/frontend/package.json
|
|
COPY faceai/apps/monitor-frontend/package.json apps/monitor-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/ .
|
|
|
|
RUN npm run build --workspace @regalami/faceai-monitor-frontend
|
|
|
|
FROM nginx:1.27-alpine AS runtime
|
|
|
|
COPY faceai/docker/monitor-nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build /app/apps/monitor-frontend/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 80 |