v2.0: SQLite statt PostgreSQL (keine externe DB nötig)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user