Fix text insertion syntax for dockerfile
This commit is contained in:
parent
8ef00f39b2
commit
c0311cee9e
@ -7,13 +7,13 @@ apt-get -y upgrade && \
|
||||
apt-get -y install curl p7zip-full megatools git jq && \
|
||||
chmod +x /init.sh
|
||||
|
||||
RUN cat <<EOT >> /usr/local/apache2/conf/httpd.conf
|
||||
<Location /server-status>
|
||||
SetHandler server-status
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Location>
|
||||
EOT
|
||||
RUN echo "<Location /server-status>\n"\
|
||||
" SetHandler server-status\n"\
|
||||
" Order deny,allow\n"\
|
||||
" Allow from all\n"\
|
||||
"</Location>\n"\
|
||||
>> /usr/local/apache2/conf/httpd.conf
|
||||
|
||||
COPY httpd.conf /usr/local/apache2/conf/httpd.conf
|
||||
WORKDIR /usr/local/apache2/htdocs/
|
||||
RUN mkdir download
|
||||
|
Loading…
Reference in New Issue
Block a user