Add scouthub-home-be

This commit is contained in:
Lorenzo Sanesi
2026-07-23 19:36:55 +02:00
parent cfd2de4ca3
commit 566754f825
45 changed files with 8233 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:20-bookworm-slim
RUN apt-get update && apt-get install -y openssl && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npx prisma generate
RUN npm run build
EXPOSE 8082
# Niente migrazioni ancora create (prisma/migrations assente): db push sincronizza
# lo schema direttamente, coerente con lo stato early-stage del progetto.
CMD ["sh", "-c", "npx prisma db push --skip-generate && node dist/server.js"]