fix robots.txt
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user