File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,7 @@ EXPOSE 80
32
32
33
33
VOLUME ["$BOOKSTACK_HOME/public/uploads" ,"$BOOKSTACK_HOME/public/storage" ]
34
34
35
- RUN echo "Setting folder permissions for uploads" \
36
- && chown -R www-data:www-data public/uploads && chmod -R 775 public/uploads \
37
- && chown -R www-data:w
BAC8
ww-data storage/uploads && chmod -R 775 storage/uploads
38
-
39
- USER 1001
35
+ USER 1001:www-data
40
36
41
37
ENTRYPOINT ["/docker-entrypoint.sh" ]
42
38
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ php artisan key:generate
109
109
110
110
php artisan migrate --force
111
111
112
- # echo "Setting folder permissions for uploads"
113
- # chown -R www-data:www-data public/uploads && chmod -R 775 public/uploads
114
- # chown -R www-data:www-data storage/uploads && chmod -R 775 storage/uploads
112
+ echo " Setting folder permissions for uploads"
113
+ chown -R www-data:www-data public/uploads && chmod -R 775 public/uploads
114
+ chown -R www-data:www-data storage/uploads && chmod -R 775 storage/uploads
115
115
116
116
php artisan cache:clear
117
117
You can’t perform that action at this time.
0 commit comments