We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8539dc7 commit 4ec185cCopy full SHA for 4ec185c
Dockerfile.kafka
@@ -0,0 +1,23 @@
1
+FROM python:3.12-slim
2
+
3
+RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ build-essential \
5
+ curl \
6
+ && rm -rf /var/lib/apt/lists/*
7
8
+COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
9
10
+WORKDIR /app
11
12
+COPY pyproject.toml README.md ./
13
+COPY src/ ./src/
14
+COPY apps/ ./apps/
15
16
+RUN uv pip install --system --no-cache . && \
17
+ uv pip install --system --no-cache kafka-python lmdb
18
19
+ENV PYTHONPATH=/app
20
+ENV PYTHONUNBUFFERED=1
21
22
+ENTRYPOINT ["python", "apps/kafka_streaming_loader.py"]
23
+CMD ["--help"]
0 commit comments