init
All checks were successful
Build and Release / release (push) Successful in 15s

This commit is contained in:
2026-04-20 09:31:27 +07:00
parent 9bcdfd6701
commit 9fc476394f

View File

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