Files
farm-manager/agent/Dockerfile
T
pluto 9af81e3001 feat(agent): Dockerfile for node agent
Python 3.12-slim based image running uvicorn on port 8889. Includes
curl for container health checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 18:59:58 -06:00

15 lines
305 B
Docker

FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8889
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8889"]