poller docker
Some checks failed
Build and Push Agent Docker Image / build (push) Failing after 1m5s
Build and Push Poller Docker Image / build (push) Failing after 43s
Build and Push Web Docker Image / build (push) Successful in 3m35s

This commit is contained in:
2025-12-12 17:52:44 +01:00
parent feabb681e8
commit 4ce3eb0abd
7 changed files with 124 additions and 13 deletions

19
poller/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# syntax=docker/dockerfile:1
FROM python:3.14-slim
WORKDIR /app
# Install uv for fast dependency management
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Copy dependency files
COPY pyproject.toml uv.lock ./
# Install dependencies
RUN uv sync --frozen --no-dev --no-install-project
# Copy application code
COPY main.py ./
CMD ["uv", "run", "main.py"]