fix robots.txt

This commit is contained in:
2026-01-20 20:54:15 +00:00
parent 6ebb9982e4
commit c06402c4eb

View File

@@ -15,7 +15,6 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
COPY nginx.conf.template /etc/nginx/nginx.conf.template COPY nginx.conf.template /etc/nginx/nginx.conf.template
COPY nginx_setup.conf.template /etc/nginx/nginx_setup.conf.template COPY nginx_setup.conf.template /etc/nginx/nginx_setup.conf.template
COPY robots.txt /etc/nginx/html/robots.txt
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
WORKDIR /app WORKDIR /app
@@ -27,4 +26,6 @@ RUN mkdir -p /etc/nginx/html \
&& rm -rf /etc/nginx/html/* \ && rm -rf /etc/nginx/html/* \
&& cp -r ./dist/* /etc/nginx/html/ && cp -r ./dist/* /etc/nginx/html/
COPY robots.txt /etc/nginx/html/robots.txt
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]