chore: gitea changes
Some checks failed
Deploy / lint-build-deploy (push) Failing after 1m18s

This commit is contained in:
2026-01-22 19:15:14 +01:00
parent 266d6c162f
commit 9cb7411b15
3 changed files with 75 additions and 0 deletions

23
Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:18-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
EXPOSE 3000
CMD ["npm", "start"]