8 lines
257 B
Docker
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
|