File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
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
18
&& chown -R www-data:www-data $BOOKSTACK_HOME \
19
- && chmod -R g+w $BOOKSTACK_HOME \
20
19
&& apt-get -y autoremove \
21
20
&& apt-get clean \
22
21
&& rm -rf /var/lib/apt/lists/* /var/tmp/* /etc/apache2/sites-enabled/000-*.conf
23
22
24
23
COPY php.ini /usr/local/etc/php/php.ini
25
24
COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
26
25
RUN a2enmod rewrite
26
+ RUN chmod -R g+w $BOOKSTACK_HOME
27
27
28
28
COPY docker-entrypoint.sh /
29
29
@@ -35,7 +35,7 @@ VOLUME ["$BOOKSTACK_HOME/public/uploads","$BOOKSTACK_HOME/public/storage"]
35
35
36
36
USER 1001:www-data
37
37
38
- CMD ["/docker-entrypoint.sh" ]
38
+ ENTRYPOINT ["/docker-entrypoint.sh" ]
39
39
40
40
ARG BUILD_DATE
41
41
ARG VCS_REF
You can’t perform that action at this time.
0 commit comments