diff --git a/Dockerfile b/Dockerfile index 33815e9..28bc986 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/app/ytdl.py b/app/ytdl.py index c001a16..a736cce 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -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],