From b128e00ad4a110e72d8c2098be70d457ab5c56fa Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 4 Feb 2022 19:02:28 +0100 Subject: [PATCH] Container: Disable logging completely --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1ce6caf..91f243a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,7 @@ RUN cp -r /usr/src/app/src /usr/src/app/public FROM httpd:alpine +# No access logs +RUN sed -i 's/LoadModule log_config_module modules\/mod_log_config.so//g' /usr/local/apache2/conf/httpd.conf + COPY --from=build /usr/src/app/public/ /usr/local/apache2/htdocs/