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