forgejo-release-drafter-action/Dockerfile

12 lines
342 B
Docker

FROM python:3.14-slim@sha256:44513520b81338d2d12499a59874220b05988819067a2cbac4545750a68e4b2b
# Install deps
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy action code
COPY release_drafter.py /release_drafter.py
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]