initial commit

This commit is contained in:
Roman Siverov 2026-06-04 14:11:13 +03:00
commit 5e5aff990d
16 changed files with 1737 additions and 0 deletions

23
Dockerfile Normal file
View file

@ -0,0 +1,23 @@
# --- Stage 1: Build ---
FROM node:22.22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY . .
RUN pnpm install --frozen-lockfile
RUN pnpm build
# --- Stage 2: Run ---
FROM node:22.22-alpine AS runtime
WORKDIR /app
COPY --from=build /app/dist ./dist
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/package.json ./package.json
EXPOSE 3000
CMD ["node", "dist/index.js"]