From 4472430633e7788371a5f3a9375b50b609405a0b Mon Sep 17 00:00:00 2001 From: Ricardo Carneiro Date: Tue, 17 Jun 2025 16:50:30 -0300 Subject: [PATCH] fix: Dockerfile --- Dockerfile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 79d2946..6d4459f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,8 @@ -# Dockerfile FROM nginx:alpine -# Remover configuração padrão do Nginx -RUN rm /etc/nginx/conf.d/default.conf - -# Copiar nossa configuração personalizada -COPY nginx.conf /etc/nginx/conf.d/ - -# Copiar arquivos do site +# Copiar arquivos do site (inclui robots.txt e sitemap.xml automaticamente) COPY . /usr/share/nginx/html/ -# Garantir que robots.txt e sitemap.xml estão no lugar correto -COPY robots.txt /usr/share/nginx/html/robots.txt -COPY sitemap.xml /usr/share/nginx/html/sitemap.xml - -# Expor porta 80 EXPOSE 80 - -# Comando padrão CMD ["nginx", "-g", "daemon off;"]