2 Commits
Author SHA1 Message Date
vinihcrosaandClaude Sonnet 4.6 74d5bd13fa fix: wire Emscripten WASM build into Docker web image
- build-wasm.sh: replace invalid cmake -f flag with staging dir approach
  (cmake requires entry file to be named CMakeLists.txt)
- Emscripten.cmake: fix EXPORTED_RUNTIME_METHODS quoting (drop single quotes)
- CMakeLists.wasm.txt: add missing configure_file for version.h and
  include(CompilerWarnings.cmake) needed by libs/physics
- docker/web/Dockerfile: add emscripten/emsdk multi-stage build; WASM
  artifacts baked into image so no volume mount required
- docker-compose.yml: remove wasm bind-mount from web service

docker compose up --build now builds C++ (native + WASM) and starts
api + web in a single command.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 00:39:27 -03:00
vinihcrosaandClaude Sonnet 4.6 eedaeef3ce chore: add Docker Compose setup for core, api, and web services
- Remove SUNDIALS from C++ Dockerfile (replaced by RK45 in T03)
- Fix CMake source path to core/ after T05 reorganization
- Add docker/api/Dockerfile: multi-stage Node 20 build for Fastify API
- Add docker/web/Dockerfile: Vite dev server with WASM volume mount
- Rewrite docker-compose.yml: core (C++ ci build), api, web services
- Add server.host=0.0.0.0 to vite.config.ts for Docker networking

Run everything: docker compose up --build

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 00:18:11 -03:00