2016-07-28 08:35:58 +08:00
|
|
|
FROM webdevops/apache:ubuntu-16.04
|
|
|
|
|
|
|
|
MAINTAINER Eric Pfeiffer <computerfr33k@users.noreply.github.com>
|
|
|
|
|
2017-08-04 05:50:20 +08:00
|
|
|
ARG PHP_UPSTREAM_CONTAINER=php-fpm
|
|
|
|
ARG PHP_UPSTREAM_PORT=9000
|
2016-07-28 08:35:58 +08:00
|
|
|
|
2017-08-04 05:50:20 +08:00
|
|
|
ENV WEB_PHP_SOCKET=${PHP_UPSTREAM_CONTAINER}:${PHP_UPSTREAM_PORT}
|
2016-07-28 08:35:58 +08:00
|
|
|
|
2017-05-01 18:41:55 +08:00
|
|
|
ENV WEB_DOCUMENT_ROOT=/var/www/public/
|
2016-07-28 08:35:58 +08:00
|
|
|
|
|
|
|
EXPOSE 80 443
|
|
|
|
|
2017-05-01 18:41:55 +08:00
|
|
|
WORKDIR /var/www/public/
|
2016-07-28 08:35:58 +08:00
|
|
|
|
2017-05-01 18:41:55 +08:00
|
|
|
COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf
|
2017-03-09 10:26:47 +08:00
|
|
|
|
2016-07-28 08:35:58 +08:00
|
|
|
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
|
|
|
|
|
|
|
|
CMD ["supervisord"]
|