Skip to content

Commit 7cc0d1f

Browse files
committed
correção na permissão das pastas montaveis
1 parent 710a089 commit 7cc0d1f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ RUN chmod +x /usr/local/bin/env.sh
1818
COPY start.sh /usr/local/bin/start.sh
1919
RUN chmod +x /usr/local/bin/start.sh
2020

21-
RUN mkdir -p /app/cache /app/logs
22-
RUN chown -R www-data:www-data /app && chmod -R 755 /app
21+
RUN mkdir -p /app/cache /app/logs \
22+
&& chown -R www-data:www-data /app/cache /app/logs \
23+
&& chmod -R 775 /app/cache /app/logs
24+
25+
RUN chown -R www-data:www-data /app \
26+
&& chmod -R 755 /app
2327

2428
VOLUME ["/app/cache", "/app/logs"]
2529

0 commit comments

Comments
 (0)