diff --git a/docker/Dockerfile b/docker/Dockerfile index 562bb26..433c94c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ ############# # Password is password for & -# docker run -d --name bikebike --env VIRTUAL_HOST=bikebike.wvcompletestreets.org --expose 80 -v /home/freesource/public_html/bikebike:/usr/share/nginx/html nginx:1.11-alpine +# docker run -d --name bikebike --env VIRTUAL_HOST=biketree.bikelover.org --expose 80 -v /somewhere/public_html/bikebike:/usr/share/nginx/html nginx:1.11-alpine FROM nginx:1.11-alpine diff --git a/docker/Dockerfile-fpm b/docker/Dockerfile-fpm index 057fceb..3c3126f 100644 --- a/docker/Dockerfile-fpm +++ b/docker/Dockerfile-fpm @@ -10,8 +10,9 @@ MAINTAINER Jonathan Rosenbaum # better hardwire www-data in the future in /etc/password # and make sure nginx also starts with same user RUN chown -R www-data:www-data /var/www/html; apk update; \ - apk add php5-mysql; \ + apk add php5-mysql php5-gd; \ cp -a /etc/php5/* /usr/local/etc/php; \ cp /usr/lib/php5/modules/mysql.so `php-config --extension-dir`/; \ + cp /usr/lib/php5/modules/gd.so `php-config --extension-dir`/; \ sed -i 's/short_open_tag.*$/short_open_tag = On/' /usr/local/etc/php/php.ini;