Debug
This commit is contained in:
parent
cbbd27ca51
commit
289a175be8
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {} +
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue