We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b831b6 commit 205bd01Copy full SHA for 205bd01
backend/Dockerfile
@@ -83,6 +83,8 @@ COPY --chown=app:app . ${FUNCTION_DIR}
83
84
USER app
85
86
+VOLUME ["/tmp/pycon"]
87
+
88
RUN mkdir -p assets && .venv/bin/python manage.py collectstatic --noinput
89
90
ENTRYPOINT ["/home/app/.venv/bin/gunicorn"]
backend/video_uploads/transfer.py
@@ -55,6 +55,8 @@ def __init__(
55
self.merged_file = None
56
57
def run(self) -> list[str]:
58
+ os.makedirs("/tmp/pycon/", exist_ok=True)
59
60
self.storage = storages["default"]
61
self.s3_client = self._get_s3_client()
62
self.download_link = self.get_download_link()
0 commit comments