docker: also copy .jpg, .svg, .webp, robots.txt and sitemap.xml into nginx root

The Dockerfile only copied *.html and *.png, so the new JPG hero,
og-image.jpg, robots.txt and sitemap.xml were silently dropped at
image build time and never reached the live container.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Dave 2026-08-19 12:49:18 +02:00
parent 68435de50f
commit d032e44702

View file

@ -4,6 +4,12 @@ RUN rm -rf /usr/share/nginx/html/*
COPY *.html /usr/share/nginx/html/
COPY *.png /usr/share/nginx/html/
COPY *.jpg /usr/share/nginx/html/
COPY *.jpeg /usr/share/nginx/html/
COPY *.svg /usr/share/nginx/html/
COPY *.webp /usr/share/nginx/html/
COPY robots.txt /usr/share/nginx/html/
COPY sitemap.xml /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80