fix(deploy): attach infra services to shared mci-network and fix mci-server Dockerfile

- Add mci-network to infrastructure services so app services can resolve mci-mysql
- Remove cross-project depends_on from docker-compose.app.yml
- Copy parent pom.xml in mci-server Dockerfile so child modules resolve sino-mci-parent
- Fix typo in local-up.sh RabbitMQ retry counter
This commit is contained in:
2026-07-07 13:09:58 +08:00
parent 91d5c29f23
commit bef2f32cff
3 changed files with 15 additions and 9 deletions

View File

@@ -1,12 +1,14 @@
FROM maven:3.9-eclipse-temurin-21-alpine AS builder
WORKDIR /app
COPY pom.xml ./pom.xml
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 && \
RUN mvn -N install && \
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