File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 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
66ARG VERSION=dev
77ARG BUILD_DATE
@@ -31,7 +31,7 @@ FROM builder AS bot-builder
3131RUN 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
3636ARG VERSION=dev
3737ARG BUILD_DATE
@@ -49,6 +49,7 @@ RUN mkdir -p /app/data /app/logs /app/models && \
4949
5050ENV PYTHONPATH=/app/src \
5151 PYTHONUNBUFFERED=1 \
52+ PYTHONDONTWRITEBYTECODE=1 \
5253 APP_VERSION=${VERSION} \
5354 BUILD_DATE=${BUILD_DATE} \
5455 VCS_REF=${VCS_REF}
Original file line number Diff line number Diff line change 11# Build stage
2- FROM node:20 -alpine AS builder
2+ FROM node:24 -alpine AS builder
33
44ARG VITE_APP_VERSION=dev
55ARG 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
2525LABEL org.opencontainers.image.title="Life-as-Code Frontend" \
2626 org.opencontainers.image.description="React frontend for health analytics platform"
Original file line number Diff line number Diff line change 11[tool .black ]
22line-length = 88
3- target-version = [' py311 ' ]
3+ target-version = [' py313 ' ]
44include = ' \.pyi?$'
55
66[tool .isort ]
@@ -9,7 +9,7 @@ line_length = 88
99
1010[tool .ruff ]
1111line-length = 88
12- target-version = " py311 "
12+ target-version = " py313 "
1313
1414[tool .ruff .lint ]
1515select = [
@@ -28,7 +28,7 @@ ignore = [
2828]
2929
3030[tool .mypy ]
31- python_version = " 3.11 "
31+ python_version = " 3.13 "
3232warn_return_any = true
3333warn_unused_configs = true
3434disallow_untyped_defs = false
You can’t perform that action at this time.
0 commit comments