Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanspiska committed Mar 23, 2022
1 parent 31a08e1 commit 12cd7eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ gradlew text eol=lf
*.scm text
*.scss text
*.sh text eol=lf
Dockerfile text eol=lf
*.sql text
*.styl text
*.tag text
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ COPY ./rest-ehr-scape/pom.xml ./rest-ehr-scape/pom.xml
COPY ./rest-openehr/pom.xml ./rest-openehr/pom.xml
COPY ./service/pom.xml ./service/pom.xml
COPY ./test-coverage/pom.xml ./test-coverage/pom.xml
COPY ./plugin/pom.xml ./plugin/pom.xml
RUN mvn dependency:go-offline -B

# COPY SOURCEFILES
Expand All @@ -61,6 +62,7 @@ COPY ./jooq-pq/src ./jooq-pq/src
COPY ./rest-ehr-scape/src ./rest-ehr-scape/src
COPY ./rest-openehr/src ./rest-openehr/src
COPY ./service/src ./service/src
COPY ./plugin/src ./plugin/src
RUN mvn compile dependency:go-offline \
-Dflyway.skip=true \
-Djooq.codegen.skip=true \
Expand Down

0 comments on commit 12cd7eb

Please sign in to comment.