first commit
This commit is contained in:
33
Dockerfile
Normal file
33
Dockerfile
Normal file
@@ -0,0 +1,33 @@
|
||||
FROM library/debian:stable
|
||||
MAINTAINER Jared Scott <jtscott@gmail.com>
|
||||
|
||||
ENV APACHE_RUN_USER www-data
|
||||
ENV APACHE_RUN_GROUP www-data
|
||||
ENV APACHE_LOG_DIR /var/log/apache2
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
unzip \
|
||||
apache2 \
|
||||
php5 \
|
||||
php5-mysql \
|
||||
php5-curl \
|
||||
php5-gd \
|
||||
php-fdomdocument \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN /usr/sbin/a2dismod 'mpm_*' \
|
||||
&& /usr/sbin/a2enmod mpm_prefork \
|
||||
&& /usr/sbin/a2enmod ssl \
|
||||
&& /usr/sbin/a2enmod rewrite \
|
||||
&& /usr/sbin/a2ensite default-ssl \
|
||||
&& chown -R www-data:www-data /var/www/html
|
||||
|
||||
COPY download-pancake.sh /opt/
|
||||
RUN chmod 755 /opt/download-pancake.sh
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
|
||||
Reference in New Issue
Block a user