Skip to content

Instantly share code, notes, and snippets.

@emachnic
Created June 4, 2015 17:43
Show Gist options
  • Save emachnic/dcd0fed6de2f78524648 to your computer and use it in GitHub Desktop.
Save emachnic/dcd0fed6de2f78524648 to your computer and use it in GitHub Desktop.
FROM php:5.5-apache
RUN apt-get -qy update && apt-get -qy install php5-mhash php5-curl libmcrypt-dev libpng12-dev
RUN docker-php-ext-install mcrypt mysql gd pdo_mysql
COPY . /var/www/html/
WORKDIR /var/www/html
RUN chown -R www-data .
RUN find . -type d -exec chmod 700 {} \;
RUN find . -type f -exec chmod 600 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment