From 289a175be880b3e71e5126a7ce2c97454533b2ec Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Wed, 6 Aug 2025 09:55:32 -0300 Subject: [PATCH] Debug --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index a7cdba6..c67b8f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,10 @@ COPY ./apache/000-default.conf /etc/apache2/sites-available/000-default.conf # Copia os arquivos do projeto para a pasta padrão do Apache COPY . /var/www/html/ +# Cria os diretórios de upload, caso não existam +RUN mkdir -p /var/www/html/ged/documents \ + && mkdir -p /var/www/html/ged/financial + # Define permissões apropriadas RUN chown -R www-data:www-data /var/www/html && find /var/www/html -type d -exec chmod 755 {} + && find /var/www/html -type f -exec chmod 644 {} +