From 12793cb4f075cebba023caa6c463669aee501c91 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 30 Aug 2023 20:40:37 +0200 Subject: [PATCH] do not try to create logging directories --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 83dafc0..0139238 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,8 @@ WORKDIR /install RUN sed '/mysqlclient/d' -i requirements.txt RUN sed 's/scipy==1.8.1/scipy==1.11.2/g' -i requirements.txt RUN sed 's/\(\["file_paperless\|\["file_mail\|\["file_celery\)/\["console/g' -i src/paperless/settings.py +RUN sed '/os\.makedirs(LOGGING_DIR, exist_ok=True)/d' -i paperless/settings.py + RUN python3 -m venv env RUN env/bin/pip3 install -r requirements.txt