Update to Node 22 (LTS) and Python 3.13

This commit is contained in:
Yannik Rödel 2025-06-15 16:52:12 +02:00
parent dc3b846e49
commit 92af48a513
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#
# Static site build phase
#
FROM node:16 as build
FROM docker.io/node:22 as build
ARG SITE
WORKDIR /build
@ -25,11 +25,11 @@ RUN SITE=${SITE} npm run build
#
# Actual server container
#
FROM python:3.10-alpine
FROM docker.io/python:3.13-alpine
ARG SITE
RUN apk add --no-cache lighttpd && \
python -m pip install itsdangerous requests
python -m pip install legacy-cgi itsdangerous requests
COPY --from=build /build/dist /www/
COPY cgi-bin /cgi-bin/

View file

@ -2,7 +2,6 @@
import base64
import io
import cgi
import collections
from collections.abc import Mapping
import hmac
@ -13,6 +12,7 @@ import secrets
import json
from typing import Any, Optional, overload
import cgi
import itsdangerous
import requests