init
Some checks failed
Build and Release / release (push) Failing after 16s

This commit is contained in:
2026-04-20 09:29:40 +07:00
commit ea1e12a5bc
20 changed files with 4335 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM node:24-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:24-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/data ./data
EXPOSE 3000
CMD ["node", "dist/index.js"]