Serveur FastAPI reçoit le flux JSONL (sim ou ROV réel) sur /ws/ingest, SLAM incrémental, rediffuse carte+poses sur /ws/live, GUI live et export PLY. Déployé Docker sur caddy-net, exposé /moulin-live/. Client PC stream_client.py. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
9 lines
233 B
Docker
9 lines
233 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt "numpy<2.0"
|
|
COPY . .
|
|
ENV MOULIN_TOKEN=moulin-2026
|
|
EXPOSE 8211
|
|
CMD ["uvicorn","app:app","--host","0.0.0.0","--port","8211"]
|