diff --git a/Dockerfile b/Dockerfile index c889ab7..d318dc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ # syntax=docker.io/docker/dockerfile:1 -FROM "python:3.11-alpine" AS pipdependencies +FROM python:3.11-alpine AS pipdependencies COPY app/requirements.txt /requirements.txt RUN pip3 install --no-cache-dir --user --requirement requirements.txt -FROM "python:3.11-alpine" +FROM python:3.11-alpine LABEL maintainer="Cabillot Julien " # TODO: à tester diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..837008f --- /dev/null +++ b/renovate.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "regexManagers": [ + { + "description": "Track ntfy binary in COPY --from", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "COPY --from=binwiederhier/ntfy:(?[^\\s]+)" + ], + "depNameTemplate": "binwiederhier/ntfy", + "datasourceTemplate": "docker" + } + ] +}