Last active
October 5, 2017 17:36
-
-
Save paulredmond/6098ba8f259708d0cb023d8af637218d to your computer and use it in GitHub Desktop.
A simple Dockerfile for Apache + PHP
This file contains 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:7.1.8-apache | |
MAINTAINER Paul Redmond | |
COPY . /srv/app | |
COPY .docker/vhost.conf /etc/apache2/sites-available/000-default.conf | |
RUN chown -R www-data:www-data /srv/app \ | |
&& a2enmod rewrite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment