init: init project

This commit is contained in:
2026-04-02 21:27:09 +06:00
commit 81f9801487
45 changed files with 1857 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# ---------- BUILD STAGE ----------
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# ---------- PRODUCTION STAGE ----------
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install && npm cache clean --force
COPY --from=builder /app/dist ./dist
RUN mkdir -p /app/uploads
EXPOSE 5000
CMD ["node", "dist/server.js"]