mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-10-03 02:55:45 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user