Browse Source

Cleaning up the code.

master
Jonathan Rosenbaum 7 years ago
parent
commit
9677b21b5f
  1. 5
      docker/Dockerfile

5
docker/Dockerfile

@ -13,7 +13,10 @@ 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
COPY settings.php /usr/share/nginx/html
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; chmod 0004 /usr/share/nginx/html/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

Loading…
Cancel
Save