forgejo-release-drafter-action/Dockerfile

12 lines
342 B
Docker

FROM python:3.14-slim@sha256:b823ded4377ebb5ff1af5926702df2284e53cecbc6e3549e93a19d8632a1897e
# 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"]