this repo has no description
1FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
2
3ENV DEBIAN_FRONTEND=noninteractive
4ENV TZ=UTC
5ENV PYTHONUNBUFFERED=1
6
7RUN apt-get update && apt-get install -y --no-install-recommends \
8 dumb-init \
9 curl \
10 build-essential \
11 libsnappy-dev \
12 zlib1g-dev \
13 ca-certificates \
14 && apt-get clean \
15 && rm -rf /var/lib/apt/lists/*
16
17WORKDIR /app
18
19COPY pyproject.toml uv.lock ./
20
21RUN uv sync --frozen --no-dev
22
23COPY *.py ./
24
25ENTRYPOINT ["/usr/bin/dumb-init", "--"]
26CMD ["uv", "run", "main.py"]