(init): Initial files. Features not implemented.

This commit is contained in:
Nix Krystik
2026-08-26 00:02:04 +08:00
commit 8d4d99f2e8
17 changed files with 791 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# ----------
FROM node:22-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production
COPY package*.json ./
RUN npm install --omit=dev
COPY --from=build /app/dist ./dist
USER node
CMD ["node", "./dist/index.js"]