Skip to content

Commit

Permalink
feat: lower docker volume of batch images
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolife999 committed Nov 12, 2024
1 parent 809d35f commit fbde35a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/app-batch.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ COPY . /usr/src/app/
# Run a conditional script for the maven build
RUN chmod +x usr/src/app/docker/script.sh && usr/src/app/docker/script.sh

#
# get jre light image
FROM eclipse-temurin:17-jre-alpine

ENV ARC_LOGLEVEL=$LOG_LEVEL

COPY --from=build usr/src/app/arc-batch/target/ArcMain.jar usr/src/app/arc-batch/target/ArcMain.jar

## execute batch
## ENTRYPOINT ["java","-jar","usr/src/app/arc-batch/target/ArcMain.jar"]

0 comments on commit fbde35a

Please sign in to comment.