Created
December 2, 2017 22:23
-
-
Save karllhughes/c34bb869852d514ccd8373e28f5cdff5 to your computer and use it in GitHub Desktop.
php-apache-postgres
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:apache | |
# Install extensions | |
RUN apt-get update && apt-get install -y libpq-dev | |
RUN docker-php-ext-install pgsql pdo_pgsql | |
# This allows Apache's mod-rewrite, whic you may or may not need | |
RUN a2enmod rewrite | |
# Copy the code and .htaccess file | |
ADD ./ /var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment