Files
firefly/agent/Dockerfile
T

14 lines
249 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml ./
COPY src ./src
RUN pip install --no-cache-dir .
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s \
CMD ["python", "-m", "agent.healthcheck"]
CMD ["python", "-m", "agent"]