v2.0: SQLite statt PostgreSQL (keine externe DB nötig)

This commit is contained in:
Hermes
2026-08-12 08:17:20 +00:00
parent 7088e5e879
commit 4b2a76e9c1
3 changed files with 39 additions and 49 deletions
+6
View File
@@ -1,5 +1,8 @@
FROM node:22-alpine
# better-sqlite3 braucht build tools
RUN apk add --no-cache python3 make g++
WORKDIR /app
COPY package*.json ./
@@ -7,6 +10,9 @@ RUN npm install --production
COPY . .
# Datenverzeichnis für SQLite
RUN mkdir -p /data
EXPOSE 3000
CMD ["node", "server.js"]