espilon-source/tools/C3PO/Dockerfile
Eun0us 79c2a4d4bf c3po: full server rewrite with modular routes and honeypot dashboard
Replace monolithic CLI and web server with route-based Flask API.
New routes: api_commands, api_build, api_can, api_monitor, api_ota,
api_tunnel. Add honeypot security dashboard with real-time SSE,
MITRE ATT&CK mapping, kill chain analysis.

New TUI with commander/help modules. Add session management,
tunnel proxy core, CAN bus data store. Docker support.
2026-02-28 20:12:27 +01:00

27 lines
565 B
Docker

FROM python:3.11-slim
WORKDIR /app
# System dependencies for OpenCV
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libgl1 \
libglib2.0-0 && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Create runtime directories
RUN mkdir -p static/streams static/recordings data firmware
ENV PYTHONPATH=/app
# Default ports: C2=2626, Web=8000, UDP=5000
EXPOSE 2626 8000 5000/udp
# Generate .env from example if not mounted
ENTRYPOINT ["python", "c3po.py"]