- demo-service (port 8085): auth, user profile, demo-to-IM token bridge - file-service (port 8086): SHA-256 dedup upload, ImageIO thumbnails, 30-day reclaim - tenant-service: GET /api/sdk/config?appId returns imWsUrl/fileServiceUrl/features - im-service: GET /api/im/admin/users/search fuzzy match by userId or nickname Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 行
637 B
Docker
25 行
637 B
Docker
ARG SERVICE_MODULE=tenant-service
|
|
|
|
FROM maven:3.9.9-eclipse-temurin-21 AS build
|
|
ARG SERVICE_MODULE
|
|
WORKDIR /workspace
|
|
|
|
COPY pom.xml ./pom.xml
|
|
COPY common ./common
|
|
COPY tenant-service ./tenant-service
|
|
COPY im-service ./im-service
|
|
COPY push-service ./push-service
|
|
COPY update-service ./update-service
|
|
COPY demo-service ./demo-service
|
|
COPY file-service ./file-service
|
|
|
|
RUN mvn -pl ${SERVICE_MODULE} -am -DskipTests package
|
|
|
|
FROM eclipse-temurin:21-jre-jammy
|
|
WORKDIR /app
|
|
ARG SERVICE_MODULE
|
|
|
|
COPY --from=build /workspace/${SERVICE_MODULE}/target/${SERVICE_MODULE}-0.1.0-SNAPSHOT.jar /app/app.jar
|
|
|
|
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
|