ménage
This commit is contained in:
parent
e4bef0053e
commit
be94a98f69
12
Dockerfile
12
Dockerfile
@ -8,8 +8,16 @@ RUN rm -rf "/var/www/html" && \
|
|||||||
echo 'RemoteIPProxiesHeader X-Forwarded-By'; \
|
echo 'RemoteIPProxiesHeader X-Forwarded-By'; \
|
||||||
} | tee "$APACHE_CONFDIR/conf-available/remoteip.conf" && \
|
} | tee "$APACHE_CONFDIR/conf-available/remoteip.conf" && \
|
||||||
a2enconf remoteip && \
|
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"
|
COPY "root" "/var/www/html"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user