Create necessary cache directory in container

pull/247/head
1RandomDev 2023-04-11 00:00:10 +02:00
parent d922970d0c
commit 169d467811
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,8 @@ RUN chmod +x docker-entrypoint.sh && \
pipenv install --system --deploy --clear && \
pip uninstall pipenv -y && \
apk del .build-deps && \
rm -rf /var/cache/apk/*
rm -rf /var/cache/apk/* && \
mkdir /.cache && chmod 777 /.cache
COPY favicon ./favicon
COPY app ./app

View File

@ -78,7 +78,6 @@ class Download:
'paths': {"home": self.download_dir},
'outtmpl': { "default": self.output_template, "chapter": self.output_template_chapter },
'format': self.format,
'cachedir': False,
'socket_timeout': 30,
'progress_hooks': [put_status],
'postprocessor_hooks': [put_status_postprocessor],