mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2026-03-21 22:32:17 +00:00
Update to Node 22 (LTS) and Python 3.13
This commit is contained in:
parent
c8117c41cd
commit
e18a3ebf15
2 changed files with 4 additions and 4 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue