add Dockerfile
This commit is contained in:
parent
a3ad655883
commit
e329dee78f
|
@ -0,0 +1,17 @@
|
|||
FROM debian:buster
|
||||
|
||||
MAINTAINER Christopher <christopher@chris-latza.de>
|
||||
|
||||
RUN apt-get update && apt-get install -y --fix-missing apache2 php php-cli php-ldap php-mysql php-imap php-xml php-mbstring php-intl php-apcu php-gd && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN rm -r -f /var/www/html/*
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
ENV APACHE_RUN_USER www-data
|
||||
ENV APACHE_RUN_GROUP www-data
|
||||
ENV APACHE_LOG_DIR /tmp
|
||||
ENV APACHE_RUN_DIR .
|
||||
ENV APACHE_PID_FILE /tmp/apache.pid
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]
|
Loading…
Reference in New Issue