fix(dependencies+tests): update EoL/vulnerable dependencies and improve test stability

* Upgrade Python from 3.10 to 3.12
* Update frontend dependencies, replace node-sass with sass
This commit is contained in:
Hang
2026-08-23 21:23:39 +01:00
parent 0a014e21bf
commit 8d5d0664e5
17 changed files with 1329 additions and 3931 deletions

View File

@@ -1,5 +1,5 @@
# Stage 1: Base build stage
FROM combos/python_node:3.10_22 AS base
FROM combos/python_node:3.12_22 AS base
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
FROM base AS builder
@@ -38,7 +38,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
RUN uv run python manage.py collectstatic --noinput
FROM python:3.10-slim-trixie
FROM python:3.12-slim-trixie
RUN addgroup --system app \
&& adduser --system --group app
COPY --from=builder --chown=app:app /app /app