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