Merge pull request #2248 from iu2frl/dev

Fixed #2244
pull/2362/head
Peter Goodhall 2023-07-04 17:39:54 +01:00 zatwierdzone przez Peter Goodhall
rodzic ba8123ee2e
commit d225acad87
1 zmienionych plików z 11 dodań i 6 usunięć

Wyświetl plik

@ -7,14 +7,16 @@ RUN touch /usr/local/etc/php/conf.d/uploads.ini \
&& echo "max_execution_time = 60" >> /usr/local/etc/php/conf.d/uploads.ini
RUN apt-get update \
&& apt-get install -y git curl libxml2-dev libonig-dev
RUN docker-php-ext-install mysqli
RUN docker-php-ext-install mysqli mbstring xml
#RUN docker-php-ext-install curl
RUN docker-php-ext-install mbstring
RUN docker-php-ext-install xml
#RUN docker-php-ext-install openssl
WORKDIR /var/www/html
RUN rm -rf /var/www/html/docker/
COPY ./ /var/www/html/
RUN ls && rm -rf /var/www/html/docker/ \
WORKDIR /var/www/html
RUN cd /var/www/html \
&& echo "Setting root as owner of the folder..." \
&& chown -R root:root /var/www/html \
&& echo "Setting permissions to the install folder" \
&& chown -R root:www-data ./application/config/ \
&& chown -R root:www-data ./application/logs/ \
&& chown -R root:www-data ./assets/qslcard/ \
@ -30,4 +32,7 @@ RUN ls && rm -rf /var/www/html/docker/ \
&& chmod -R g+rw ./updates/ \
&& chmod -R g+rw ./uploads/ \
&& chmod -R g+rw ./images/eqsl_card_images/ \
&& chmod -R g+rw ./assets/json/
&& chmod -R g+rw ./assets/json/ \
&& chmod 777 /var/www/html/install \
&& echo "Make sure everything is fine" \
&& dir -ls