File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
15
15
&& wget https://github.com/ssddanbrown/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz -O ${BOOKSTACK}.tar.gz \
16
16
&& tar -xf ${BOOKSTACK}.tar.gz && mv BookStack-${BOOKSTACK_VERSION} ${BOOKSTACK_HOME} && rm ${BOOKSTACK}.tar.gz \
17
17
&& cd $BOOKSTACK_HOME && composer install \
18
- && chown -R 1000090000:1000090000 $BOOKSTACK_HOME \
18
+ && chown -R www-data:www-data $BOOKSTACK_HOME \
19
19
&& apt-get -y autoremove \
20
20
&& apt-get clean \
21
21
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /etc/apache2/sites-enabled/000-*.conf
@@ -33,7 +33,8 @@ EXPOSE 8080
33
33
34
34
VOLUME ["$BOOKSTACK_HOME/public/uploads" ,"$BOOKSTACK_HOME/public/storage" ]
35
35
36
- RUN chown -R 1000090000:1000090000 public/uploads && chmod -R 775 public/uploads \
36
+ RUN chown -R 1000090000:1000090000 $BOOKSTACK_HOME \
37
+ && chown -R 1000090000:1000090000 public/uploads && chmod -R 775 public/uploads \
37
38
&& chown -R 1000090000:1000090000 storage/uploads && chmod -R 775 storage/uploads
38
39
39
40
USER 1000090000:1000090000
You can’t perform that action at this time.
0 commit comments