chore(gateway): 移除Dockerfile中的离线模式参数

- 移除了mvn命令中的-o参数,允许在线下载依赖包
-
This commit is contained in:
2026-01-30 12:01:49 +08:00
parent e624c8a26f
commit 2d476f7c7a

View File

@@ -35,7 +35,7 @@ COPY backend/api-gateway /opt/gateway/api-gateway
# 编译打包(使用缓存的依赖)
RUN --mount=type=cache,target=/root/.m2/repository \
cd /opt/gateway/api-gateway && \
mvn -o clean package -Dmaven.test.skip=true
mvn clean package -Dmaven.test.skip=true
FROM eclipse-temurin:21-jdk