Upgrade main-site to Node 20 for Web Crypto globals

Node 18 requires --experimental-global-webcrypto for crypto.subtle /
crypto.getRandomValues as globals; Node 20 LTS exposes them by default,
which altcha/lib needs for createChallenge.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chris 2026-06-12 05:56:40 -04:00
parent e7af5bca4a
commit c00f2de338

View File

@ -1,5 +1,5 @@
# Use an official Node.js runtime as a parent image # Use an official Node.js runtime as a parent image
FROM node:18-alpine FROM node:20-alpine
# Set the working directory in the container # Set the working directory in the container
WORKDIR /usr/src/app WORKDIR /usr/src/app