chore: Abhängigkeiten aktualisiert (nodemailer 10, React 19.3, Supabase), public/ im Docker-Image
- nodemailer 8 -> 10 (Sicherheitslücken), @types/nodemailer entfernt, Typ Mail - Dockerfile kopiert public/ ins Runner-Image (Flyer-PDF, Google-Verifizierung) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1d6137184a
commit
705f28a61e
|
|
@ -16,6 +16,7 @@ ENV PORT=3000
|
|||
RUN addgroup --system nodejs && adduser --system --ingroup nodejs nextjs
|
||||
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
|
||||
USER nextjs
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
* und SUPABASE_SERVICE_ROLE_KEY nicht gesetzt sind.
|
||||
*/
|
||||
|
||||
import nodemailer from "nodemailer";
|
||||
import nodemailer, { type Mail } from "nodemailer";
|
||||
import { createServiceClient } from "./supabase";
|
||||
|
||||
export interface QueuedMail {
|
||||
|
|
@ -128,7 +128,7 @@ export async function queueEmail(mail: QueuedMail): Promise<boolean> {
|
|||
|
||||
// ─── Worker ───────────────────────────────────────────────────────────────
|
||||
|
||||
let transporter: nodemailer.Transporter | null = null;
|
||||
let transporter: Mail | null = null;
|
||||
|
||||
function getTransporter() {
|
||||
if (!transporter) {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,14 +15,13 @@
|
|||
"lucide-react": "^1.11.0",
|
||||
"next": "^15.5.27",
|
||||
"next-themes": "^0.4.6",
|
||||
"nodemailer": "^8.0.6",
|
||||
"nodemailer": "^10.0.15",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/node": "^22",
|
||||
"@types/nodemailer": "^8.0.0",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"autoprefixer": "^10",
|
||||
|
|
|
|||
Loading…
Reference in New Issue