Skip to content

Commit 0e6a47f

Browse files
authored
Fix dockerfile (#1298)
1 parent 1b786c6 commit 0e6a47f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
!mvnw
44
!.mvn
55
!pom.xml
6+
!web-deps/*
7+
!web-deps/.locker/*
68
!base/*
79
!community-app/*
810
!acceptance-test/*

base/.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
!mvnw
44
!.mvn
55
!pom.xml
6-
!.locker/pom.xml
76
!target/*-runner
87
!target/*-runner.jar
98
!target/lib/*

docker/Dockerfile.community-app.multistage

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ ARG MAVEN_BUILD_EXTRA_ARGS=
44
RUN echo "$MAVEN_BUILD_EXTRA_ARGS"
55

66
COPY mvnw pom.xml maven-settings.xml* /usr/src/app/
7+
COPY web-deps/pom.xml /usr/src/app/web-deps/
8+
COPY web-deps/.locker/pom.xml /usr/src/app/web-deps/.locker/
79
COPY base/pom.xml /usr/src/app/base/
8-
COPY base/.locker/pom.xml /usr/src/app/base/.locker/
910
COPY community-app/pom.xml /usr/src/app/community-app/
1011
COPY .mvn /usr/src/app/.mvn
1112
RUN cd /usr/src/app/ && ./mvnw verify clean -Dlib -Dcommunity-app --fail-never

0 commit comments

Comments
 (0)