This commit is contained in:
root 2017-11-03 08:44:18 +01:00
parent e4bef0053e
commit be94a98f69

View File

@ -8,8 +8,16 @@ RUN rm -rf "/var/www/html" && \
echo 'RemoteIPProxiesHeader X-Forwarded-By'; \
} | tee "$APACHE_CONFDIR/conf-available/remoteip.conf" && \
a2enconf remoteip && \
a2enmod remoteip
a2enmod remoteip && \
apt-get -y autoremove --purge && \
apt-get -y clean all && \
rm -rf "/usr/share/doc/*" \
"/var/cache/*" \
"/var/lib/apt/lists/*" \
"/usr/src/*" \
"/var/cache/*" \
"/var/log/"{apt/*,dpkg.log} \
"/var/www/html"
COPY "root" "/var/www/html"