FROM php:5.5.25-apache RUN docker-php-ext-install mysql mysqli pdo pdo_mysql RUN a2enmod rewrite COPY --chown=www-data . /tmt/masterfoods WORKDIR /tmt/masterfoods RUN mv 000-default.conf /etc/apache2/sites-available/ && \ ln -s /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/000-default.conf