This commit is contained in:
Kenio 2025-08-06 09:55:32 -03:00
parent cbbd27ca51
commit 289a175be8

View file

@ -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 {} +