Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
26
frontend-vben/apps/web-antd/Dockerfile
Normal file
26
frontend-vben/apps/web-antd/Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache bash git python3 make g++ \
|
||||
&& corepack enable \
|
||||
&& corepack prepare pnpm@8.15.8 --activate
|
||||
|
||||
COPY pnpm-workspace.yaml package.json ./
|
||||
COPY apps ./apps
|
||||
COPY packages ./packages
|
||||
COPY internal ./internal
|
||||
COPY scripts ./scripts
|
||||
|
||||
RUN pnpm install --no-frozen-lockfile
|
||||
RUN pnpm add -D less sass --workspace-root
|
||||
RUN pnpm --filter @vben/web-antd... build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY apps/web-antd/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=builder /app/apps/web-antd/dist /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user