Skip to content

Commit

Permalink
updated Dockerfile-base
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Sep 30, 2024
1 parent adbc1a1 commit 0ca1fe5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ FROM maven:3-eclipse-temurin-21-alpine AS build
RUN mkdir -p /para
RUN curl -Ls https://github.com/Erudika/para/archive/master.tar.gz | tar -xz -C /para
RUN cd /para/para-master && mvn -q install -DskipTests=true -DskipITs=true && \
cd /para/para-master/para-jar && mvn -q -Pbase clean package && mv target/para-[0-9]*.jar /para/
cd /para/para-master/para-jar && mvn -q -Pbase clean package && \
mv target/para-base-[0-9]*.jar /para/para.jar

FROM eclipse-temurin:21-alpine

Expand All @@ -18,7 +19,7 @@ WORKDIR /para

VOLUME ["/para/data"]

COPY --from=build /para/para-*.jar /para/para.jar
#COPY --from=build /para/para-*.jar /para/para.jar

EXPOSE 8080

Expand Down

0 comments on commit 0ca1fe5

Please sign in to comment.