feat(admin-web): add Vue 3 admin console and deployment configs
- Add admin-web/ with Vite + Vue 3 + Element Plus + Vue Router - Add 8 management pages: dashboard, channel subject/account, conversation, person, tag, send record (with test send), inbound flow - Add API client modules for account/channel/crm/send/flow - Add Dockerfile and nginx config for admin-web - Add Dockerfile for mci-server - Add docker-compose.app.yml for one-command app deployment - Add K8s deployment manifests for backend/admin-web/channel-service - Update scripts/local-up.sh with shared network and --with-apps option
This commit is contained in:
19
backend/mci-server/Dockerfile
Normal file
19
backend/mci-server/Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM maven:3.9-eclipse-temurin-21-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY mci-shared ./mci-shared
|
||||
COPY mci-channel-common ./mci-channel-common
|
||||
COPY mci-server/pom.xml ./mci-server/pom.xml
|
||||
COPY mci-server/src ./mci-server/src
|
||||
|
||||
RUN mvn -f mci-shared/pom.xml install -DskipTests && \
|
||||
mvn -f mci-channel-common/pom.xml install -DskipTests && \
|
||||
mvn -f mci-server/pom.xml package -DskipTests
|
||||
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/mci-server/target/*.jar app.jar
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
Reference in New Issue
Block a user