02b1d155d4
The autonomous agent writes all observations to agent.* tables consumed by Homelab Command on port 8765. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
346 B
Docker
15 lines
346 B
Docker
FROM python:3.11-slim-bookworm
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends iputils-ping docker.io \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY agent ./agent
|
|
COPY config ./config
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
CMD ["python", "-m", "agent.main"]
|