Skip to content

Commit

Permalink
dockerignore added and dockerfile simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
busraarsln committed Nov 15, 2023
1 parent 70e5448 commit 29a4769
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
webui
26 changes: 4 additions & 22 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,11 @@ FROM maven:3.8.5-openjdk-17-slim as builder

WORKDIR /build

COPY core core
RUN mvn install -DskipTests -f core


COPY booking booking
RUN mvn install -DskipTests -f booking


COPY ebl-issuance ebl-issuance
RUN mvn install -DskipTests -f ebl-issuance


COPY ebl-surrender ebl-surrender
RUN mvn install -DskipTests -f ebl-surrender


COPY sandbox sandbox
RUN mvn install -DskipTests -f sandbox


COPY spring-boot spring-boot
RUN mvn install -DskipTests -f spring-boot
COPY . .

RUN for pom in core booking ebl-issuance ebl-surrender sandbox spring-boot; do \
mvn install -U -B -DskipTests -f "$pom/pom.xml" || exit 1; \
done

FROM openjdk:17-alpine3.14

Expand Down

0 comments on commit 29a4769

Please sign in to comment.