Skip to content

Commit

Permalink
Merge pull request #2248 from iu2frl/dev
Browse files Browse the repository at this point in the history
Fixed #2244
  • Loading branch information
magicbug committed Jul 4, 2023
1 parent ba8123e commit d225aca
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ \
Expand All @@ -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

0 comments on commit d225aca

Please sign in to comment.