2016-07-28 08:35:58 +08:00
|
|
|
FROM webdevops/apache:ubuntu-16.04
|
|
|
|
|
|
|
|
MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
|
|
|
|
|
2016-10-18 07:05:35 +08:00
|
|
|
ARG PHP_SOCKET=php-fpm:9000
|
2016-07-28 08:35:58 +08:00
|
|
|
|
|
|
|
ENV WEB_PHP_SOCKET=$PHP_SOCKET
|
|
|
|
|
2016-11-01 09:23:40 +08:00
|
|
|
ENV WEB_DOCUMENT_ROOT=/var/www/public
|
2016-07-28 08:35:58 +08:00
|
|
|
|
|
|
|
EXPOSE 80 443
|
|
|
|
|
2016-11-01 09:23:40 +08:00
|
|
|
WORKDIR /var/www/public
|
2016-07-28 08:35:58 +08:00
|
|
|
|
|
|
|
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
|
|
|
|
|
|
|
|
CMD ["supervisord"]
|
2017-02-26 04:25:33 +08:00
|
|
|
|
|
|
|
# Update the default apache site with the config we created.
|
|
|
|
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf
|