- 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
20 lines
550 B
Docker
20 lines
550 B
Docker
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"]
|