Initial commit with gitea actions

This commit is contained in:
Torben Schaffhauser
2026-06-17 15:32:28 +02:00
commit b72a7877e0
23 changed files with 3230 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
RUN npm prune --omit=dev
FROM node:22-alpine
WORKDIR /app
COPY --from=builder /app/build ./build
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3000
EXPOSE 3000
CMD ["node", "build"]