blob: c1f85596c6093ff24062dd728ae22761074afeb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
FROM httpd:alpine
RUN apk update
ENV APACHE_LOG_DIR /usr/local/apache2/logs
COPY --chown=root:root apache2/conf /usr/local/apache2/conf
COPY --chown=root:root apache2/conf/extra /usr/local/apache2/conf/extra
RUN chmod 644 /usr/local/apache2/conf/.htpasswd
RUN chmod 644 /usr/local/apache2/conf/httpd.conf
RUN chmod 644 /usr/local/apache2/conf/extra/httpd-ssl.conf
RUN mkdir /usr/local/apache2/certs
RUN chown root:root /usr/local/apache2/certs
|