Skip to content

Image Pipeline Playground

refactor(backend/paths): drop downloads subfolder under outputs

Mohammad Rajaeic98d21841eb9
diff --git a/Dockerfile b/Dockerfile
index a0d2377..86fbf5c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,7 +32,7 @@ ENV UV_COMPILE_BYTECODE=1 \
UV_PROJECT_ENVIRONMENT=/app/backend/.venv
RUN uv sync --frozen --no-dev \
- && mkdir -p cache uploads outputs/downloads
+ && mkdir -p cache uploads outputs
COPY --from=frontend-build /app/frontend/dist /app/frontend/dist
diff --git a/backend/app/paths.py b/backend/app/paths.py
index c43be77..098c6d3 100644
--- a/backend/app/paths.py
+++ b/backend/app/paths.py
@@ -1,4 +1,4 @@
-"""Shared filesystem locations for cache, uploads, downloads, and assets."""
+"""Shared filesystem locations for cache, uploads, outputs, and assets."""
from __future__ import annotations
@@ -34,9 +34,3 @@ def output_dir() -> Path:
path = data_root() / "outputs"
path.mkdir(parents=True, exist_ok=True)
return path
-
-
-def download_dir() -> Path:
- path = output_dir() / "downloads"
- path.mkdir(parents=True, exist_ok=True)
- return path