Sign inSign up

eboraas/apache

By eboraas

•Updated over 5 years ago

Apache (with SSL/TLS support), built on Debian

Image
92

500K+

Dockerfile
FROM eboraas/debian:stable
MAINTAINER Ed Boraas <[email protected]>

RUN apt-get update && apt-get -y install apache2 && apt-get clean && rm -rf /var/lib/apt/lists/*

ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2

RUN /usr/sbin/a2ensite default-ssl
RUN /usr/sbin/a2enmod ssl

EXPOSE 80
EXPOSE 443

CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]