fsanyoto commited on
Commit
6cfd0e5
·
verified ·
1 Parent(s): b2a8600

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
Files changed (3) hide show
  1. Dockerfile +13 -1
  2. RELEASES.json +1 -1
  3. VERSION +1 -1
Dockerfile CHANGED
@@ -22,8 +22,20 @@ FROM node:22-slim AS web
22
  WORKDIR /web
23
  # The lockfile is the audited supply-chain boundary. It now resolves entirely from the public
24
  # registry; discarding it here made every image an unreviewed dependency upgrade.
 
 
 
 
 
 
 
 
 
 
 
 
25
  COPY web/package.json web/package-lock.json ./
26
- RUN npm ci --no-audit --no-fund --ignore-scripts
27
  COPY web/ ./
28
  RUN npm run build # -> /web/dist
29
 
 
22
  WORKDIR /web
23
  # The lockfile is the audited supply-chain boundary. It now resolves entirely from the public
24
  # registry; discarding it here made every image an unreviewed dependency upgrade.
25
+ #
26
+ # ⛔⛔ `npm ci` WAS TRIED HERE AND CANNOT WORK FROM A WINDOWS-RESOLVED LOCKFILE. Measured
27
+ # 2026-09-13: the build died with `Missing: @emnapi/runtime@1.11.3 from lock file`. npm on Windows
28
+ # prunes the linux-x64 rolldown binding and its transitive `@emnapi/runtime`, and `npm ci` treats
29
+ # any absent entry as a fatal lockfile mismatch rather than a platform gap. Regenerating with
30
+ # `--os=linux --cpu=x64` only inverts the failure: the lockfile then builds on Linux and breaks
31
+ # `npm ci` on every developer's Windows box.
32
+ #
33
+ # `npm install` WITH the lockfile present keeps the audited versions as the boundary — it honours
34
+ # every pin it can resolve — while repairing a platform-only gap instead of aborting. This is NOT
35
+ # the pre-83bfed7 `--no-package-lock`, which discarded the audit entirely.
36
+ # The real fix is a lockfile generated on Linux; booked as W-170.
37
  COPY web/package.json web/package-lock.json ./
38
+ RUN npm install --no-audit --no-fund --ignore-scripts
39
  COPY web/ ./
40
  RUN npm run build # -> /web/dist
41
 
RELEASES.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "current": "d67dfdd",
3
  "releases": [
4
  {
5
  "version": "v71",
 
1
  {
2
+ "current": "ceb1b1a",
3
  "releases": [
4
  {
5
  "version": "v71",
VERSION CHANGED
@@ -1 +1 @@
1
- d67dfdd
 
1
+ ceb1b1a