betterwithage commited on
Commit
41978b1
·
verified ·
1 Parent(s): 1316d5b

Dockerfile: COPY FLEET vessels module + seed-data into image (fixes fleet 404)

Browse files

The Dockerfile uses explicit per-file COPY (never COPY . .). The FLEET (Vessels) files killinchu_fleet_vessels.py and fleet_vessels_data.json were committed to the repo but never copied into the Docker image, so import killinchu_fleet_vessels failed at runtime and all /api/killinchu/v1/fleet/* routes 404ed. Add the two COPY lines after killinchu_elite_console.py so the FLEET module and its embedded verbatim platform seed-data are in the image.

Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -186,6 +186,13 @@ COPY killinchu_cannonico.py ./killinchu_cannonico.py
186
  # killinchu_elite_console.py: a11oy-elite 14-tab operator console. serve.py imports
187
  # it via try/except; per-file COPY (this Dockerfile never uses `COPY . .`).
188
  COPY killinchu_elite_console.py ./killinchu_elite_console.py
 
 
 
 
 
 
 
189
  # killinchu_beyond.py: Beyond-Cannonico proof console — autonomy-governance
190
  # generalized beyond one drone (autonomy envelope · 3-of-4 swarm quorum · HOTL
191
  # override register). serve.py imports it via try/except; without this COPY the
 
186
  # killinchu_elite_console.py: a11oy-elite 14-tab operator console. serve.py imports
187
  # it via try/except; per-file COPY (this Dockerfile never uses `COPY . .`).
188
  COPY killinchu_elite_console.py ./killinchu_elite_console.py
189
+ # ADDITIVE (FLEET vessels/drones, GAP-1+GAP-2): per-file COPY of the FLEET (Vessels)
190
+ # module + its embedded verbatim platform seed-data. serve.py imports
191
+ # killinchu_fleet_vessels and front-inserts its 8 routes under /api/killinchu/v1/fleet/*;
192
+ # without these COPYs the import fails and every fleet route falls through to the SPA
193
+ # catch-all (404). This Dockerfile never uses `COPY . .` — every file is explicit.
194
+ COPY killinchu_fleet_vessels.py ./killinchu_fleet_vessels.py
195
+ COPY fleet_vessels_data.json ./fleet_vessels_data.json
196
  # killinchu_beyond.py: Beyond-Cannonico proof console — autonomy-governance
197
  # generalized beyond one drone (autonomy envelope · 3-of-4 swarm quorum · HOTL
198
  # override register). serve.py imports it via try/except; without this COPY the