feat(agent): containerize agent and wire into compose stack
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user