Files
joseph cf4cc1dbd4
build-scan-deploy / build (push) Successful in 1m20s
fix: patch base image (brotli CVE found by Trivy)
2026-11-18 00:42:20 +03:00

8 lines
257 B
Docker

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
EXPOSE 80