Update to Node 22, use bcryptjs for better compatibility

This commit is contained in:
Ryderjj89
2025-10-01 18:12:41 -04:00
parent f4eaf2d483
commit 55e5267ffa
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine FROM node:22-alpine
# Install dumb-init for proper signal handling # Install dumb-init for proper signal handling
RUN apk add --no-cache dumb-init RUN apk add --no-cache dumb-init

View File

@@ -1,4 +1,4 @@
import bcrypt from 'bcrypt' import bcrypt from 'bcryptjs'
import { SignJWT, jwtVerify } from 'jose' import { SignJWT, jwtVerify } from 'jose'
import { getDatabase } from './database' import { getDatabase } from './database'