chore: scaffold project skeleton (pyproject, Docker, systemd, README)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
floppyrj45
2026-04-19 15:20:10 +00:00
parent 20e19239eb
commit f04d7c90c9
9 changed files with 295 additions and 1 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY pyproject.toml README.md ./
COPY src ./src
RUN pip install --upgrade pip && pip install .
ENV MCAP_DIR=/data/mcap \
POLL_INTERVAL_S=30 \
LOG_LEVEL=INFO
VOLUME ["/data/mcap"]
ENTRYPOINT ["cosma-log-analyzer"]
CMD ["serve"]