Skip to content

Commit 7fcc5cc

Browse files
committed
chore: upgrade to Python 3.13, node:24 LTS, nginx:1.28 stable
1 parent 06ab1eb commit 7fcc5cc

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Life-as-Code Health Analytics Platform - Multi-Stage Build
22

33
# --- Builder Stage (base) ---
4-
FROM python:3.11-slim AS builder
4+
FROM python:3.13-slim AS builder
55

66
ARG VERSION=dev
77
ARG BUILD_DATE
@@ -31,7 +31,7 @@ FROM builder AS bot-builder
3131
RUN pip install --no-cache-dir '.[agent,bot]'
3232

3333
# --- Runtime Base ---
34-
FROM python:3.11-slim AS runtime-base
34+
FROM python:3.13-slim AS runtime-base
3535

3636
ARG VERSION=dev
3737
ARG BUILD_DATE
@@ -49,6 +49,7 @@ RUN mkdir -p /app/data /app/logs /app/models && \
4949

5050
ENV PYTHONPATH=/app/src \
5151
PYTHONUNBUFFERED=1 \
52+
PYTHONDONTWRITEBYTECODE=1 \
5253
APP_VERSION=${VERSION} \
5354
BUILD_DATE=${BUILD_DATE} \
5455
VCS_REF=${VCS_REF}

frontend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM node:20-alpine AS builder
2+
FROM node:24-alpine AS builder
33

44
ARG VITE_APP_VERSION=dev
55
ARG VITE_APP_ENVIRONMENT=development
@@ -20,7 +20,7 @@ RUN VITE_APP_VERSION=${VITE_APP_VERSION} \
2020
npm run build
2121

2222
# Production stage
23-
FROM nginx:alpine
23+
FROM nginx:1.28-alpine
2424

2525
LABEL org.opencontainers.image.title="Life-as-Code Frontend" \
2626
org.opencontainers.image.description="React frontend for health analytics platform"

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 88
3-
target-version = ['py311']
3+
target-version = ['py313']
44
include = '\.pyi?$'
55

66
[tool.isort]
@@ -9,7 +9,7 @@ line_length = 88
99

1010
[tool.ruff]
1111
line-length = 88
12-
target-version = "py311"
12+
target-version = "py313"
1313

1414
[tool.ruff.lint]
1515
select = [
@@ -28,7 +28,7 @@ ignore = [
2828
]
2929

3030
[tool.mypy]
31-
python_version = "3.11"
31+
python_version = "3.13"
3232
warn_return_any = true
3333
warn_unused_configs = true
3434
disallow_untyped_defs = false

0 commit comments

Comments
 (0)