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:
parent
68435de50f
commit
d032e44702
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue