mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 08:13:41 +00:00
More concise Dockerfile
This commit is contained in:
parent
76dea7bd82
commit
0d6adb0edf
@ -13,21 +13,10 @@ RUN docker-php-ext-install mysqli mbstring xml
|
|||||||
RUN rm -rf /var/www/html/docker/
|
RUN rm -rf /var/www/html/docker/
|
||||||
COPY ./ /var/www/html/
|
COPY ./ /var/www/html/
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
RUN cd /var/www/html && ls \
|
RUN cd /var/www/html \
|
||||||
&& chown -R root:root ./application/config/ \
|
&& echo "Setting root as owner of the folder..." \
|
||||||
&& chown -R root:root ./application/logs/ \
|
&& chown -R root:root /var/www/html \
|
||||||
&& chown -R root:root ./assets/qslcard/ \
|
&& echo "Setting permissions to the install folder" \
|
||||||
&& chown -R root:root ./backup/ \
|
&& chmod 777 /var/www/html/install \
|
||||||
&& chown -R root:root ./updates/ \
|
&& echo "Make sure everything is fine" \
|
||||||
&& chown -R root:root ./uploads/ \
|
&& dir -ls
|
||||||
&& chown -R root:root ./images/eqsl_card_images/ \
|
|
||||||
&& chown -R root:root ./assets/json/ \
|
|
||||||
&& chmod -R g+rw ./application/config/ \
|
|
||||||
&& chmod -R g+rw ./application/logs/ \
|
|
||||||
&& chmod -R g+rw ./assets/qslcard/ \
|
|
||||||
&& chmod -R g+rw ./backup/ \
|
|
||||||
&& 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 777 /var/www/html/install
|
|
||||||
|
Loading…
Reference in New Issue
Block a user