CI / UI Checks (pull_request) Successful in 9s
CI / Rust Checks (pull_request) Successful in 20m41s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Successful in 1s
CI / Deploy (pull_request) Skipped
The CI host uplink (192.168.1.108) drops TLS 1.3 ClientHello carrying the hybrid X25519MLKEM768 key share, so registry.npmjs.org is unreachable from the seeded node:22-alpine build stage while the same host answers over TLS 1.2. RUN npm ci hung until the build was cancelled. Cap only the UI build stage at TLS 1.2 via NODE_OPTIONS=--tls-max-v1.2. Certificates, SRI and the lockfile are untouched; no mirror, fallback or cache-substituted packages. Remove the line once TLS 1.3 works from the CI host again.
29 lines
706 B
Docker
29 lines
706 B
Docker
FROM node:22-alpine AS build
|
|
|
|
# The CI host uplink drops TLS 1.3 ClientHello carrying the hybrid
|
|
# X25519MLKEM768 key share; pin the npm stage to TLS 1.2 until that network
|
|
# defect is fixed. Certificates, SRI and the lockfile are unaffected.
|
|
ENV NODE_OPTIONS=--tls-max-v1.2
|
|
|
|
WORKDIR /app
|
|
|
|
COPY apps/ui/package.json apps/ui/package-lock.json ./
|
|
RUN npm ci
|
|
|
|
COPY apps/ui ./
|
|
COPY crank-community.png ./crank-community.png
|
|
|
|
RUN npm run build
|
|
|
|
FROM nginx:1.30.6-alpine3.24-slim
|
|
|
|
RUN apk add --no-cache --upgrade \
|
|
'pcre2>=10.49-r0' \
|
|
'libcrypto3>=3.5.8-r0' \
|
|
'libssl3>=3.5.8-r0'
|
|
|
|
COPY apps/ui/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 3000
|