add gitea workflow

This commit is contained in:
2025-06-01 13:04:34 +02:00
parent feb3dd1327
commit bdfe3ba1ed
2 changed files with 49 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM node:lts-alpine AS build-stage
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN n
RUN npx nuxt build
FROM node:lts-alpine AS production-stage
WORKDIR /app
COPY --from=build-stage /app/.output/ /app
COPY --from=build-stage /app/node_modules/ /app/node_modules
EXPOSE 3000
CMD ["node", "server/index.mjs"]