fix: also skip frontend tests in Docker Maven stage
Build & Deploy / build-and-deploy (push) Successful in 42s
Build & Deploy / build-and-deploy (push) Successful in 42s
Maven build stage has no Node/npm, so -DskipFrontendTests=true is needed alongside -DskipFrontend=true
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY pom.xml ./
|
||||
COPY src ./src
|
||||
# Copy the built frontend into the source tree so maven-resources-plugin picks it up
|
||||
COPY --from=frontend /build/dist ./frontend/dist/
|
||||
RUN mvn package -q -DskipFrontend=true
|
||||
RUN mvn package -q -DskipFrontend=true -DskipFrontendTests=true
|
||||
|
||||
# ─── 3. Runtime ──────────────────────────────────
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
|
||||
Reference in New Issue
Block a user