Update to Node 22, use bcryptjs for better compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:20-alpine
|
||||
FROM node:22-alpine
|
||||
|
||||
# Install dumb-init for proper signal handling
|
||||
RUN apk add --no-cache dumb-init
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import bcrypt from 'bcrypt'
|
||||
import bcrypt from 'bcryptjs'
|
||||
import { SignJWT, jwtVerify } from 'jose'
|
||||
import { getDatabase } from './database'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user