Files
rfd-notify/Dockerfile
renovate[bot] 60605c163f Update python Docker tag to v3.14 (#436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-18 08:48:54 -05:00

12 lines
492 B
Docker

FROM python:3.14-slim-trixie AS builder
WORKDIR /app
COPY pyproject.toml poetry.lock* ./
RUN pip install --no-cache-dir poetry==2.2.1 poetry-plugin-export && \
poetry export -f requirements.txt --without-hashes --output requirements.txt
RUN python -m venv /venv && \
/venv/bin/pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PATH="/venv/bin:$PATH"
RUN apt-get purge -y --allow-remove-essential bash
ENTRYPOINT ["/venv/bin/python", "rfd_notify/cli.py", "-c", "config.yml"]