From 4d0b23cd234ff151fc4dccaa3b2249fec27a0e3b Mon Sep 17 00:00:00 2001 From: jekkos-t520 Date: Wed, 22 Jul 2020 22:02:43 +0200 Subject: [PATCH] Update permissions on application/logs (#2885) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba6f825ca..0d5aafd3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN echo -e “$(hostname -i)\t$(hostname) $(hostname).localhost” >> /etc/host WORKDIR /app COPY . /app RUN ln -s /app/*[^public] /var/www && rm -rf /var/www/html && ln -nsf /app/public /var/www/html -RUN chmod 755 /app/public/uploads && chown -R www-data:www-data /app/public /app/application +RUN chmod -R 750 /app/public/uploads /app/application/logs && chown -R www-data:www-data /app/public /app/application FROM ospos AS ospos_test