Initial commit: IT Nexus Web-App

This commit is contained in:
2026-06-01 20:49:07 +02:00
commit 8023765e6c
387 changed files with 106900 additions and 0 deletions

26
backend/Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
# Backend Dockerfile für FIDO-Key Management System
FROM node:18-alpine
# Arbeitsverzeichnis erstellen
WORKDIR /app
# Python und Build-Tools für better-sqlite3 installieren
RUN apk add --no-cache python3 make g++
# Package files kopieren
COPY package*.json ./
# Dependencies installieren
RUN npm install --only=production
# Source Code kopieren
COPY . .
# Port freigeben
EXPOSE 5000
# Umgebungsvariablen
ENV NODE_ENV=production
# Server starten
CMD ["node", "src/server.js"]