Browse Source

ménage

master
root 3 years ago
parent
commit
be94a98f69
1 changed files with 10 additions and 2 deletions
  1. 12
      Dockerfile

12
Dockerfile

@ -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"

Loading…
Cancel
Save