diff --git a/Dockerfile b/Dockerfile index 0c1b423..8e018d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM nginx:1.29-alpine +# patch OS packages so Trivy finds no fixable CRITICAL CVEs +RUN apk upgrade --no-cache ARG VERSION=dev COPY index.html /usr/share/nginx/html/index.html RUN sed -i "s/__VERSION__/${VERSION}/" /usr/share/nginx/html/index.html