kenken999 commited on
Commit
bc84ab6
·
1 Parent(s): 5c4c019
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -43,7 +43,9 @@ RUN chown -R www-data:www-data /var/www/html \
43
  && find /var/www/html -type f -exec chmod 644 {} \;
44
 
45
  # Ensure the SQLite database file and directory have the correct permissions
46
- RUN chown -R www-data:www-data /var/www/html/storage \
 
 
47
  && chown -R www-data:www-data /var/www/html/bootstrap/cache \
48
  && chmod -R 775 /var/www/html/storage \
49
  && chmod -R 775 /var/www/html/bootstrap/cache
 
43
  && find /var/www/html -type f -exec chmod 644 {} \;
44
 
45
  # Ensure the SQLite database file and directory have the correct permissions
46
+ RUN mkdir -p /var/www/html/storage \
47
+ && mkdir -p /var/www/html/bootstrap/cache \
48
+ && chown -R www-data:www-data /var/www/html/storage \
49
  && chown -R www-data:www-data /var/www/html/bootstrap/cache \
50
  && chmod -R 775 /var/www/html/storage \
51
  && chmod -R 775 /var/www/html/bootstrap/cache