fix(docker): mci-server Dockerfile 复制并构建 mci-channel-wecom 模块
This commit is contained in:
@@ -4,12 +4,15 @@ WORKDIR /app
|
||||
COPY pom.xml ./pom.xml
|
||||
COPY mci-shared ./mci-shared
|
||||
COPY mci-channel-common ./mci-channel-common
|
||||
COPY mci-channel-wecom/pom.xml ./mci-channel-wecom/pom.xml
|
||||
COPY mci-channel-wecom/src ./mci-channel-wecom/src
|
||||
COPY mci-server/pom.xml ./mci-server/pom.xml
|
||||
COPY mci-server/src ./mci-server/src
|
||||
|
||||
RUN mvn -N install && \
|
||||
mvn -f mci-shared/pom.xml install -DskipTests && \
|
||||
mvn -f mci-channel-common/pom.xml install -DskipTests && \
|
||||
mvn -f mci-channel-wecom/pom.xml install -DskipTests && \
|
||||
mvn -f mci-server/pom.xml package -DskipTests
|
||||
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
|
||||
Reference in New Issue
Block a user