forgejo-release-drafter-action/Dockerfile

12 lines
342 B
Docker

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