Files
videoreg.ru/deploy/docker/Dockerfile.web
huncode 8d3f59daee
Rebuild V2 candidate verification / candidate (push) Failing after 4m57s
Production container deploy / production (push) Successful in 6m51s
Record verified own-registry base remedy and refresh exact R3 delivery manifest
2026-10-26 20:07:53 +03:00

17 lines
675 B
Docker

# Legacy dynamic application image; public production uses root Dockerfile (static).
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json .npmrc ./
RUN npm ci --no-audit --no-fund
COPY tsconfig.json vitest.config.ts ./
COPY web-front web-front
COPY ingestion ingestion
RUN npm run build
FROM nginx:1.28-alpine
RUN rm -rf /usr/share/nginx/html
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY deploy/legacy-map.conf /etc/nginx/conf.d/00-videoreg-legacy.conf
COPY --from=build /app/web-front/out/ /usr/share/nginx/html/
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1:8080/health/ready >/dev/null || exit 1