Files
AV-Live/web_realart/bridge/Dockerfile
T
L'électron rare 02de5302c9 feat: add realart web application with Hydra, WebGL, and OSC data feeds
- Implemented Hydra visualizations in `web_realart/public/hydra/app.js` and `index.html`.
- Created WebGL visualizer using Three.js and WebGPU in `web_realart/public/webgl/app.js` and `index.html`.
- Developed main landing page in `web_realart/public/index.html` to showcase different visualizations.
- Set up WebSocket server in `web_realart/server.js` to relay OSC messages to web clients.
- Added health check API endpoint for monitoring server status.
2026-05-11 07:21:04 +02:00

22 lines
737 B
Docker

FROM python:3.12-slim
WORKDIR /app
# Pas de pose (YOLO) en prod headless : on n'installe pas opencv/ultralytics.
RUN pip install --no-cache-dir \
"python-osc>=1.8.3" \
"httpx>=0.27" \
"websockets>=12.0" \
"aiomqtt>=2.3" \
"skyfield>=1.49"
# Copie le code source du bridge depuis le repo (build context = ./bridge,
# mais on a besoin du code de ../../data_feeds : on copie via build.sh
# OU on monte en volume. Plus simple : sync via build.sh avant docker compose).
# Code source du bridge (synchronise depuis ../../data_feeds via build.sh)
COPY src/bridge.py /app/bridge.py
COPY src/feeds /app/feeds
# config.toml fourni en volume read-only par compose
CMD ["python", "bridge.py", "--config", "/app/config.toml"]