From 55e5267ffa8be4f45700b54a8f792653e8ccf3b0 Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Wed, 1 Oct 2025 18:12:41 -0400 Subject: [PATCH] Update to Node 22, use bcryptjs for better compatibility --- Dockerfile | 2 +- server/utils/auth.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c0e8db8..fafd9d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/server/utils/auth.ts b/server/utils/auth.ts index 12bd32b..1e413b0 100644 --- a/server/utils/auth.ts +++ b/server/utils/auth.ts @@ -1,4 +1,4 @@ -import bcrypt from 'bcrypt' +import bcrypt from 'bcryptjs' import { SignJWT, jwtVerify } from 'jose' import { getDatabase } from './database'