feat(T08): Docker, deployment & CI/CD – dockerfiles, compose, forgejo actions, readme

This commit is contained in:
Implementation Engineer
2026-07-10 01:34:31 +02:00
parent a1bba48cd7
commit 22acc39017
9 changed files with 498 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
node_modules
.nuxt
.output
dist
.git
.gitignore
*.md
.env
.env.*
playwright-report
test-results
coverage
+21
View File
@@ -0,0 +1,21 @@
# --- Stage 1: Build ---
FROM node:20 AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# --- Stage 2: Production ---
FROM node:20-slim AS production
WORKDIR /app
COPY --from=builder /app/.output ./.output
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]