Browse Source

Correction to dir in Dockerfile; minor change to settings.

master
Jonathan Rosenbaum 7 years ago
parent
commit
6256004fbe
  1. 2
      docker/Dockerfile
  2. 2
      docker/settings.php
  3. 2
      settings.php

2
docker/Dockerfile

@ -13,7 +13,7 @@ RUN rm -rf /usr/share/nginx/html; apk update; apk add git; apk add php5-mysql
RUN git clone https://github.com/fspc/biketree.git /usr/share/nginx/html RUN git clone https://github.com/fspc/biketree.git /usr/share/nginx/html
COPY settings.php /usr/share/nginx/html COPY settings.php /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d COPY default.conf /etc/nginx/conf.d
RUN chown -R nginx:nginx /usr/share/nginx/html; mkdir /var/www; ln -sf /usr/share/nginx/html/ /var/www/html; chmod 0004 /usr/share/nginx/html/settings.php; chomod 0004 /usr/share/nginx/install; RUN chown -R nginx:nginx /usr/share/nginx/html; mkdir /var/www; ln -sf /usr/share/nginx/html/ /var/www/html; chmod 0004 /usr/share/nginx/html/settings.php; chmod 0004 /usr/share/nginx/html/install;
VOLUME /usr/share/nginx/html VOLUME /usr/share/nginx/html

2
docker/settings.php

@ -4,7 +4,7 @@ $cfg_address="Positive Spin,
Morgantown, Morgantown,
WV, USA"; WV, USA";
$cfg_phone="123-456-7890"; $cfg_phone="123-456-7890";
$cfg_email="jr@bikelover.org"; $cfg_email="bike@bikelover.org";
$cfg_fax=""; $cfg_fax="";
$cfg_website="https://biketree.bikelover.org"; $cfg_website="https://biketree.bikelover.org";
$cfg_other=""; $cfg_other="";

2
settings.php

@ -4,7 +4,7 @@ $cfg_address="Positive Spin,
Morgantown, Morgantown,
WV, USA"; WV, USA";
$cfg_phone="123-456-7890"; $cfg_phone="123-456-7890";
$cfg_email="jr@bikelover.org"; $cfg_email="bike@bikelover.org";
$cfg_fax=""; $cfg_fax="";
$cfg_website="https://biketree.bikelover.org"; $cfg_website="https://biketree.bikelover.org";
$cfg_other=""; $cfg_other="";

Loading…
Cancel
Save