From 61e452ca751ec1307873aaa9e65a3c7d4665c7ae Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 30 Aug 2023 20:42:56 +0200 Subject: [PATCH] do not try to create logging directories --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0139238..1a5239a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ 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 sed '/os\.makedirs(LOGGING_DIR, exist_ok=True)/d' -i src/paperless/settings.py RUN python3 -m venv env RUN env/bin/pip3 install -r requirements.txt