From 4bf18d07571afe7043aa45466563a9d2c92b02d4 Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Tue, 9 Dec 2025 11:18:04 -0800 Subject: [PATCH] fix: Build & Runtime Fixes (TS Lax, Vite Types, Backend OpenSSL) --- backend/Dockerfile | 6 ++++++ frontend/src/vite-env.d.ts | 1 + frontend/tsconfig.json | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 frontend/src/vite-env.d.ts diff --git a/backend/Dockerfile b/backend/Dockerfile index d117a8a..b1797a1 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,8 @@ FROM node:20-alpine AS builder +# Install OpenSSL for Prisma +RUN apk add --no-cache openssl + WORKDIR /app # Copy package files @@ -22,6 +25,9 @@ RUN npm run build # Production image FROM node:20-alpine +# Install OpenSSL for Prisma +RUN apk add --no-cache openssl + WORKDIR /app # Copy built files diff --git a/frontend/src/vite-env.d.ts b/frontend/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/frontend/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 6e760b2..3be8177 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -16,8 +16,8 @@ "noEmit": true, "jsx": "react-jsx", "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "noFallthroughCasesInSwitch": true, "baseUrl": ".", "paths": {