feat: Add Gitea pipelines for frontend and backend

This commit is contained in:
2025-11-14 19:22:16 +01:00
parent af7cf98cc3
commit 08e8009bfd
7 changed files with 298 additions and 19 deletions

View File

@@ -0,0 +1,15 @@
node_modules
.nuxt
.output
.git
.gitignore
README.md
.api-client
.api-client-middleware
*.log
.DS_Store
coverage
.vscode
.idea
dist

View File

@@ -0,0 +1,31 @@
FROM node:22.16.0-alpine AS builder
WORKDIR /app
RUN npm install -g pnpm@10.13.1
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
FROM node:22.16.0-alpine AS runner
WORKDIR /app
RUN npm install -g pnpm@10.13.1
COPY --from=builder /app/.output /app/.output
COPY --from=builder /app/package.json /app/package.json
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3000
EXPOSE 3000
CMD ["node", ".output/server/index.mjs"]