Skip to content

Instantly share code, notes, and snippets.

@paulredmond
Last active October 5, 2017 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulredmond/6098ba8f259708d0cb023d8af637218d to your computer and use it in GitHub Desktop.
Save paulredmond/6098ba8f259708d0cb023d8af637218d to your computer and use it in GitHub Desktop.
A simple Dockerfile for Apache + PHP
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