-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
20 lines (18 loc) · 985 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM httpd:2.4
RUN true \
#
#
#
&& sed -i "s/AllowOverride None/AllowOverride All/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule expires_module/LoadModule expires_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule headers_module/LoadModule headers_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule rewrite_module/LoadModule rewrite_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule proxy_module/LoadModule proxy_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule proxy_http_module/LoadModule proxy_http_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule mpm_prefork_module/LoadModule mpm_prefork_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/LoadModule mpm_event_module/#LoadModule mpm_event_module/" /usr/local/apache2/conf/httpd.conf \
#
#
#
&& true
COPY ./build /usr/local/apache2/htdocs/