do not try to create logging directories

This commit is contained in:
Sebastian Hugentobler 2023-08-30 20:42:56 +02:00
parent 12793cb4f0
commit 61e452ca75
Signed by untrusted user who does not match committer: shu
GPG Key ID: BB32CF3CA052C2F0

View File

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